Vanessa 2025-11-28 21:32:07 +08:00
parent c70e3f46ec
commit 9f0eaa6a0b
3 changed files with 9 additions and 6 deletions

View file

@ -63,6 +63,7 @@ import * as path from "path";
/// #endif
import {checkFold} from "../../util/noRelyPCFunction";
import {clearSelect} from "../util/clear";
import {stopScrollAnimation} from "../../boot/globalEvent/dragover";
export class Gutter {
public element: HTMLElement;
@ -183,6 +184,7 @@ export class Gutter {
item.style.opacity = "";
});
window.siyuan.dragElement = undefined;
stopScrollAnimation();
});
this.element.addEventListener("click", (event: MouseEvent & { target: HTMLInputElement }) => {
const buttonElement = hasClosestByTag(event.target, "BUTTON");