parent
1130525fdf
commit
590aef15ec
1 changed files with 2 additions and 2 deletions
|
@ -307,7 +307,7 @@ export function useKeyboardShortcuts(ref: React.RefObject<HTMLDivElement>) {
|
|||
// Camera
|
||||
|
||||
useHotkeys(
|
||||
'ctrl+=,⌘+=,ctrl+num_subtract,⌘+num_subtract',
|
||||
'ctrl+=,⌘+=,ctrl+num_add,⌘+num_add',
|
||||
(e) => {
|
||||
if (!canHandleEvent(true)) return
|
||||
app.zoomIn()
|
||||
|
@ -318,7 +318,7 @@ export function useKeyboardShortcuts(ref: React.RefObject<HTMLDivElement>) {
|
|||
)
|
||||
|
||||
useHotkeys(
|
||||
'ctrl+-,⌘+-,ctrl+num_add,⌘+num_add',
|
||||
'ctrl+-,⌘+-,ctrl+num_subtract,⌘+num_subtract',
|
||||
(e) => {
|
||||
if (!canHandleEvent(true)) return
|
||||
|
||||
|
|
Loading…
Reference in a new issue