mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-06 04:40:15 +01:00
This commit is contained in:
parent
cb1c75a5b7
commit
407b3b0040
2 changed files with 4 additions and 3 deletions
|
|
@ -536,7 +536,7 @@ export const globalShortcut = () => {
|
|||
}
|
||||
|
||||
// 面板折叠展开操作
|
||||
if (matchHotKey(window.siyuan.config.keymap.editor.general.collapse.custom, event) || matchHotKey(window.siyuan.config.keymap.editor.general.expand.custom, event)) {
|
||||
if (!event.repeat && (matchHotKey(window.siyuan.config.keymap.editor.general.collapse.custom, event) || matchHotKey(window.siyuan.config.keymap.editor.general.expand.custom, event))) {
|
||||
let activePanelElement = document.querySelector(".block__icons--active");
|
||||
if (!activePanelElement) {
|
||||
Array.from(document.querySelectorAll(".layout__wnd--active .layout-tab-container > div")).forEach(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue