mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-19 18:41:00 +08:00
This commit is contained in:
parent
75526007d7
commit
d4e3c1e660
@ -130,8 +130,8 @@ ${this.position === "Top" ? ("top:" + (this.element.offsetHeight + document.getE
|
|||||||
target = target.parentElement;
|
target = target.parentElement;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.layout.element.addEventListener("mouseleave", (event) => {
|
this.layout.element.addEventListener("mouseleave", (event: MouseEvent & { toElement: HTMLElement }) => {
|
||||||
if (this.pin) {
|
if (this.pin || event.toElement.classList.contains("b3-menu")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.position === "Left" && event.clientX < 43) {
|
if (this.position === "Left" && event.clientX < 43) {
|
||||||
|
Loading…
Reference in New Issue
Block a user