mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-17 03:24:43 -05:00
Fullscreen can be toggled on and off from the View menu
This commit is contained in:
parent
81f9cb4769
commit
8d9e1e8207
4 changed files with 14 additions and 5 deletions
|
|
@ -52,9 +52,6 @@ func _input(event : InputEvent) -> void:
|
|||
if get_focus_owner() is LineEdit:
|
||||
get_focus_owner().release_focus()
|
||||
|
||||
if event.is_action_pressed("toggle_fullscreen"):
|
||||
OS.window_fullscreen = !OS.window_fullscreen
|
||||
|
||||
if event.is_action_pressed("redo_secondary"): # Shift + Ctrl + Z
|
||||
redone = true
|
||||
Global.current_project.undo_redo.redo()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue