Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/17612

Vanessa460fdb20a190
diff --git a/app/src/boot/globalEvent/event.ts b/app/src/boot/globalEvent/event.ts
index 58cb18eedf..a1a3429202 100644
--- a/app/src/boot/globalEvent/event.ts
+++ b/app/src/boot/globalEvent/event.ts
@@ -18,7 +18,7 @@ import {checkFold} from "../../util/noRelyPCFunction";
import {hideAllElements} from "../../protyle/ui/hideElements";
import {dragOverScroll, stopScrollAnimation} from "./dragover";
import {setWebViewFocusable} from "../../mobile/util/mobileAppUtil";
-import {initTouchDragBridge} from "../../protyle/util/touchDrag";
+import {initTouchDragBridge} from "../../util/touchDrag";
export const initWindowEvent = (app: App) => {
document.body.addEventListener("mouseleave", () => {
diff --git a/app/src/protyle/util/touchDrag.ts b/app/src/util/touchDrag.ts
similarity index 99%
rename from app/src/protyle/util/touchDrag.ts
rename to app/src/util/touchDrag.ts
index e77f08a53c..657778c613 100644
--- a/app/src/protyle/util/touchDrag.ts
+++ b/app/src/util/touchDrag.ts
@@ -1,4 +1,4 @@
-import {stopScrollAnimation} from "../../boot/globalEvent/dragover";
+import {stopScrollAnimation} from "../boot/globalEvent/dragover";
const DRAG_THRESHOLD = 5;