Skip to content

Commit ffc7b8b

Browse files
committed
🐛 修复快捷键meta键无法监听的问题
1 parent 7ca2a14 commit ffc7b8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/core/stage/Canvas.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export class Canvas {
4040
altKey: event.altKey,
4141
ctrlKey: event.ctrlKey,
4242
shiftKey: event.shiftKey,
43+
metaKey: event.metaKey,
4344
}),
4445
);
4546
}
@@ -52,6 +53,7 @@ export class Canvas {
5253
altKey: event.altKey,
5354
ctrlKey: event.ctrlKey,
5455
shiftKey: event.shiftKey,
56+
metaKey: event.metaKey,
5557
}),
5658
);
5759
}

0 commit comments

Comments
 (0)