Fullscreen can be toggled on and off from the View menu

This commit is contained in:
OverloadedOrama 2020-07-21 22:11:25 +03:00
parent 81f9cb4769
commit 8d9e1e8207
4 changed files with 14 additions and 5 deletions

View file

@ -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()