mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Use CMD+Shift+H for showing the pixel grid on OSX (#494)
Co-authored-by: Laurenz Reinthaler <reinthalerlaurenz@gmail.com>
This commit is contained in:
parent
bb95c89213
commit
a899d2591d
|
@ -679,6 +679,9 @@ func use_osx_shortcuts() -> void:
|
|||
for action in inputmap.get_actions():
|
||||
var event : InputEvent = inputmap.get_action_list(action)[0]
|
||||
|
||||
if event.is_action("show_pixel_grid"):
|
||||
event.shift = true
|
||||
|
||||
if event.control:
|
||||
event.control = false
|
||||
event.command = true
|
||||
|
|
Loading…
Reference in a new issue