1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fixed View menu options not updating the canvas

This commit is contained in:
OverloadedOrama 2019-12-27 20:26:55 +02:00
parent 86761c92ec
commit b720100995

View file

@ -256,6 +256,7 @@ func edit_menu_id_pressed(id : int) -> void:
Global.can_draw = false
func view_menu_id_pressed(id : int) -> void:
Global.canvas.update()
match id:
0: # Tile mode
Global.tile_mode = !Global.tile_mode