online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/barbutton/BarTextureButton.gd')
-rw-r--r--ui/barbutton/BarTextureButton.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/barbutton/BarTextureButton.gd b/ui/barbutton/BarTextureButton.gd
index 4bb51e2..3a7e488 100644
--- a/ui/barbutton/BarTextureButton.gd
+++ b/ui/barbutton/BarTextureButton.gd
@@ -17,7 +17,8 @@ func _ready() -> void:
func set_disabled(new: bool) -> void:
disabled = new
- self_modulate = Color(.1, .1, .1, 0.5) if disabled else Color.white
+ self_modulate = Color.gray if disabled else Color.white
+ mouse_default_cursor_shape = CURSOR_FORBIDDEN if disabled else CURSOR_POINTING_HAND
func _input(_event: InputEvent):