mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
This commit is contained in:
parent
5f54adb978
commit
4b809fbefa
1 changed files with 2 additions and 1 deletions
|
|
@ -300,7 +300,8 @@ export class Dock {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.layout.element.addEventListener("mouseleave", (event: MouseEvent & { toElement: HTMLElement }) => {
|
this.layout.element.addEventListener("mouseleave", (event: MouseEvent & { toElement: HTMLElement }) => {
|
||||||
if (event.buttons !== 0 || this.pin || event.toElement?.classList.contains("b3-menu")) {
|
if (event.buttons !== 0 || this.pin || event.toElement?.classList.contains("b3-menu") ||
|
||||||
|
event.toElement?.classList.contains("tooltip")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.position === "Left" && event.clientX < 43) {
|
if (this.position === "Left" && event.clientX < 43) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue