1
0
Fork 0
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:
Laurenz Reinthaler 2021-06-15 22:03:19 +02:00 committed by GitHub
parent bb95c89213
commit a899d2591d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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