mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-09 00:34:20 +01:00
This commit is contained in:
parent
d08a0fc156
commit
c757e2912f
5 changed files with 21 additions and 5 deletions
|
|
@ -1249,6 +1249,13 @@ export const windowKeyDown = (app: App, event: KeyboardEvent) => {
|
|||
imgPreviewElement.remove();
|
||||
return;
|
||||
}
|
||||
|
||||
const avElement = document.querySelector(".av__panel")
|
||||
if (avElement) {
|
||||
avElement.remove();
|
||||
return
|
||||
}
|
||||
|
||||
if (!window.siyuan.menus.menu.element.classList.contains("fn__none")) {
|
||||
if (window.siyuan.dialogs.length > 0 &&
|
||||
window.siyuan.menus.menu.element.style.zIndex < (window.siyuan.dialogs[0].element.querySelector(".b3-dialog") as HTMLElement).style.zIndex) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue