mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +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():
|
for action in inputmap.get_actions():
|
||||||
var event : InputEvent = inputmap.get_action_list(action)[0]
|
var event : InputEvent = inputmap.get_action_list(action)[0]
|
||||||
|
|
||||||
|
if event.is_action("show_pixel_grid"):
|
||||||
|
event.shift = true
|
||||||
|
|
||||||
if event.control:
|
if event.control:
|
||||||
event.control = false
|
event.control = false
|
||||||
event.command = true
|
event.command = true
|
||||||
|
|
Loading…
Reference in a new issue