thinner icons, buttons cursor fix

This commit is contained in:
Nordup 2024-11-19 01:33:38 +04:00
parent 0b61c43576
commit 02aa9514ab
23 changed files with 110 additions and 317 deletions

View file

@ -0,0 +1,23 @@
extends Button
class_name RoundButton
func _ready() -> void:
if disabled: disable()
else: enable()
button_up.connect(on_button_up)
func on_button_up() -> void:
release_focus()
func disable() -> void:
disabled = true
mouse_default_cursor_shape = Control.CURSOR_ARROW
func enable() -> void:
disabled = false
mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND