diff --git a/Scripts/Global.gd b/Scripts/Global.gd index ec92a69..b39ce93 100644 --- a/Scripts/Global.gd +++ b/Scripts/Global.gd @@ -516,6 +516,12 @@ func layers_changed(value : Array) -> void: if layers.size() == 1: remove_layer_button.disabled = true remove_layer_button.mouse_default_cursor_shape = Control.CURSOR_FORBIDDEN + move_up_layer_button.disabled = true + move_up_layer_button.mouse_default_cursor_shape = Control.CURSOR_FORBIDDEN + move_down_layer_button.disabled = true + move_down_layer_button.mouse_default_cursor_shape = Control.CURSOR_FORBIDDEN + merge_down_layer_button.disabled = true + merge_down_layer_button.mouse_default_cursor_shape = Control.CURSOR_FORBIDDEN else: remove_layer_button.disabled = false remove_layer_button.mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND @@ -562,6 +568,7 @@ func layer_changed(value : int) -> void: move_down_layer_button.disabled = true move_down_layer_button.mouse_default_cursor_shape = Control.CURSOR_FORBIDDEN merge_down_layer_button.disabled = true + merge_down_layer_button.mouse_default_cursor_shape = Control.CURSOR_FORBIDDEN func create_brush_button(brush_img : Image, brush_type := Brush_Types.CUSTOM, hint_tooltip := "") -> void: var brush_container