mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-23 23:44:06 +01:00
This commit is contained in:
parent
93bb1c485c
commit
ee9a02f904
2 changed files with 16 additions and 4 deletions
|
|
@ -24,7 +24,10 @@ export class Menu {
|
|||
if (lastShowElements.length > 0) {
|
||||
lastShowElements[lastShowElements.length - 1].classList.remove("b3-menu__item--show");
|
||||
} else {
|
||||
this.remove();
|
||||
this.element.style.transform = "";
|
||||
setTimeout(() => {
|
||||
this.remove();
|
||||
}, Constants.TIMEOUT_DBLCLICK);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue