From a899d2591defc8325c4a7dc341a29505485aeedd Mon Sep 17 00:00:00 2001 From: Laurenz Reinthaler <47503977+Schweini07@users.noreply.github.com> Date: Tue, 15 Jun 2021 22:03:19 +0200 Subject: [PATCH] Use CMD+Shift+H for showing the pixel grid on OSX (#494) Co-authored-by: Laurenz Reinthaler --- src/Autoload/Global.gd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Autoload/Global.gd b/src/Autoload/Global.gd index 6e2c8ab51..3ebcf8b8a 100644 --- a/src/Autoload/Global.gd +++ b/src/Autoload/Global.gd @@ -678,6 +678,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