mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
This commit is contained in:
parent
42bf71024f
commit
2730e1c815
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue