An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/13207#issuecomment-4831189927
Daniel28a1df2502b4
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.tsindex 64a153417d..76ffa8824a 100644--- a/app/src/mobile/util/touch.ts+++ b/app/src/mobile/util/touch.ts@@ -8,7 +8,7 @@ import {import {closeModel, closePanel} from "./closePanel";import {popMenu} from "../menu";import {activeBlur} from "./keyboardToolbar";-import {isChromeBrowser, isIPhone} from "../../protyle/util/compatibility";+import {isChromeBrowser, isInAndroid, isInHarmony, isIPhone} from "../../protyle/util/compatibility";import {getRangeByPoint} from "../../protyle/util/selection";import {getCurrentEditor} from "../editor";import {Constants} from "../../constants";@@ -53,7 +53,9 @@ export const handleTouchEnd = (event: TouchEvent) => {const target = event.target as HTMLElement;const currentTime = Date.now();const editor = getCurrentEditor();- handleTouchUp();+ if (!isInHarmony() && !isInAndroid()) {+ handleTouchUp();+ }if (Math.abs(clientX - event.changedTouches[0].clientX) < 5 && Math.abs(clientY - event.changedTouches[0].clientY) < 5) {if (editor && editor.protyle.toolbar.isMultiSelectMode()) {if (longPressTimer) {