mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Disable draw tiles mode when pressing one of the tile edit mode buttons
This commit is contained in:
parent
cfa067ebb0
commit
8346b465b6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue