mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 19:34:43 -04:00
Added Shift+Ctrl+Z as a secondary shortcut for Redo
This commit is contained in:
parent
69392ff34b
commit
80f7a0ca13
2 changed files with 10 additions and 0 deletions
|
@ -187,6 +187,11 @@ func _input(event : InputEvent) -> void:
|
|||
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.undo_redo.redo()
|
||||
redone = false
|
||||
|
||||
if Global.has_focus:
|
||||
for t in tools: #Handle tool shortcuts
|
||||
if event.is_action_pressed(t[2]): #Shortcut for right button (with Alt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue