mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-11 14:41:51 +08:00
This commit is contained in:
parent
5f54adb978
commit
4b809fbefa
@ -300,7 +300,8 @@ export class Dock {
|
||||
});
|
||||
|
||||
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;
|
||||
}
|
||||
if (this.position === "Left" && event.clientX < 43) {
|
||||
|
Loading…
Reference in New Issue
Block a user