From 1336819760023db9d3627256fe6534ee60314866 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 30 Nov 2024 00:20:41 +0200 Subject: [PATCH] Disable draw tiles mode when pressing one of the tile edit mode buttons --- src/UI/TilesPanel.gd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/UI/TilesPanel.gd b/src/UI/TilesPanel.gd index 5fbb37b44..330a8c628 100644 --- a/src/UI/TilesPanel.gd +++ b/src/UI/TilesPanel.gd @@ -162,16 +162,19 @@ func _on_place_tiles_toggled(toggled_on: bool) -> void: func _on_manual_toggled(toggled_on: bool) -> void: + place_tiles.button_pressed = false if toggled_on: tile_editing_mode = TileEditingMode.MANUAL func _on_auto_toggled(toggled_on: bool) -> void: + place_tiles.button_pressed = false if toggled_on: tile_editing_mode = TileEditingMode.AUTO func _on_stack_toggled(toggled_on: bool) -> void: + place_tiles.button_pressed = false if toggled_on: tile_editing_mode = TileEditingMode.STACK