diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts index 63a2eb2ce..f653fb1ff 100644 --- a/app/src/util/globalShortcut.ts +++ b/app/src/util/globalShortcut.ts @@ -339,7 +339,7 @@ export const globalShortcut = () => { if (!event.altKey && !event.shiftKey && isCtrl(event)) { if (event.key === "Meta" || event.key === "Control" || event.ctrlKey || event.metaKey) { window.siyuan.ctrlIsPressed = true; - if (window.siyuan.config.editor.floatWindowMode === 1) { + if (window.siyuan.config.editor.floatWindowMode === 1 && !event.repeat) { showPopover() } } else {