fix: some shortcuts not working on Chrome

This commit is contained in:
Tienson Qin
2024-04-17 18:57:27 +08:00
parent 640f0c76e6
commit a02f94e5c1
2 changed files with 3 additions and 1 deletions

View File

@@ -353,7 +353,7 @@
:editor/select-parent {:binding "mod+a"
:fn editor-handler/select-parent}
:editor/zoom-in {:binding (if mac? "mod+." "alt+right")
:editor/zoom-in {:binding (if mac? ["mod+." "mod+shift+."] "alt+right") ; FIXME: mod+. not works on Chrome
:fn editor-handler/zoom-in!}
:editor/zoom-out {:binding (if mac? "mod+," "alt+left")