mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 15:39:49 +00:00
Disable draw tiles mode when pressing one of the tile edit mode buttons
This commit is contained in:
parent
f5428952b2
commit
1336819760
|
@ -162,16 +162,19 @@ func _on_place_tiles_toggled(toggled_on: bool) -> void:
|
||||||
|
|
||||||
|
|
||||||
func _on_manual_toggled(toggled_on: bool) -> void:
|
func _on_manual_toggled(toggled_on: bool) -> void:
|
||||||
|
place_tiles.button_pressed = false
|
||||||
if toggled_on:
|
if toggled_on:
|
||||||
tile_editing_mode = TileEditingMode.MANUAL
|
tile_editing_mode = TileEditingMode.MANUAL
|
||||||
|
|
||||||
|
|
||||||
func _on_auto_toggled(toggled_on: bool) -> void:
|
func _on_auto_toggled(toggled_on: bool) -> void:
|
||||||
|
place_tiles.button_pressed = false
|
||||||
if toggled_on:
|
if toggled_on:
|
||||||
tile_editing_mode = TileEditingMode.AUTO
|
tile_editing_mode = TileEditingMode.AUTO
|
||||||
|
|
||||||
|
|
||||||
func _on_stack_toggled(toggled_on: bool) -> void:
|
func _on_stack_toggled(toggled_on: bool) -> void:
|
||||||
|
place_tiles.button_pressed = false
|
||||||
if toggled_on:
|
if toggled_on:
|
||||||
tile_editing_mode = TileEditingMode.STACK
|
tile_editing_mode = TileEditingMode.STACK
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue