mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
5b4f2472f7
commit
838a769c5b
2 files changed
+2
-2
No files matched your search
@@ -1952,7 +1952,7 @@ export class CanvasEditor {
|
||||
}
|
||||
});
|
||||
input.addEventListener("keydown", (event) => {
|
||||
if ((event.ctrlKey || event.metaKey) && !event.altKey && event.key.toLowerCase() === "s") return;
|
||||
if ((event.ctrlKey || event.metaKey) && !event.altKey && ["s", "w", "tab"].includes(event.key.toLowerCase())) return;
|
||||
event.stopPropagation();
|
||||
if (event.isComposing || editing.composing || editing.saving) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user