mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 22:54:44 -04:00
When the palette, outline and rotate image dialogs are open, the user can't zoom in the canvas anymore.
This commit is contained in:
parent
f5ab5c3987
commit
83188a54d9
6 changed files with 21 additions and 2 deletions
|
@ -357,6 +357,7 @@ func image_menu_id_pressed(id : int) -> void:
|
|||
var image : Image = Global.canvas.layers[Global.current_layer][0]
|
||||
$RotateImage.set_sprite(image)
|
||||
$RotateImage.popup_centered()
|
||||
Global.can_draw = false
|
||||
5: # Invert Colors
|
||||
var image : Image = Global.canvas.layers[Global.current_layer][0]
|
||||
Global.canvas.handle_undo("Draw")
|
||||
|
@ -381,6 +382,7 @@ func image_menu_id_pressed(id : int) -> void:
|
|||
Global.canvas.handle_redo("Draw")
|
||||
7: # Outline
|
||||
$OutlineDialog.popup_centered()
|
||||
Global.can_draw = false
|
||||
|
||||
func help_menu_id_pressed(id : int) -> void:
|
||||
match id:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue