Vanessa 2022-10-28 23:41:11 +08:00
parent 42bf71024f
commit 2730e1c815

View file

@ -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 {