Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:sparkles: fix https://github.com/siyuan-note/siyuan/issues/4781

Vanessa2730e1c81521
diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts
index 63a2eb2ce7..f653fb1ff3 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 {