From 248646650eb6cf993045eff67b2db050a0a12efe Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 30 Apr 2025 12:03:51 +0800 Subject: [PATCH] :test_tube: https://github.com/siyuan-note/siyuan/issues/14687 --- app/src/mobile/util/touch.ts | 3 --- app/src/protyle/toolbar/index.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts index 754a16ec7..bf227e175 100644 --- a/app/src/mobile/util/touch.ts +++ b/app/src/mobile/util/touch.ts @@ -5,7 +5,6 @@ import {activeBlur} from "./keyboardToolbar"; import {isIPhone} from "../../protyle/util/compatibility"; import {App} from "../../index"; import {globalTouchEnd, globalTouchStart} from "../../boot/globalEvent/touch"; -import {showMessage} from "../../dialog/message"; let clientX: number; let clientY: number; @@ -139,7 +138,6 @@ export const handleTouchStart = (event: TouchEvent) => { if (0 < event.touches.length && ((event.touches[0].target as HTMLElement).tagName === "VIDEO" || (event.touches[0].target as HTMLElement).tagName === "AUDIO")) { // https://github.com/siyuan-note/siyuan/issues/14569 activeBlur(); - showMessage("activeBlur1"); return; } @@ -316,7 +314,6 @@ export const handleTouchMove = (event: TouchEvent) => { transformMask((windowWidth - xDiff) / windowWidth); } activeBlur(); - showMessage("activeBlur2"); if (window.siyuan.mobile.editor) { window.siyuan.mobile.editor.protyle.contentElement.style.overflow = "hidden"; } diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts index 911bf03a9..94e6a21d5 100644 --- a/app/src/protyle/toolbar/index.ts +++ b/app/src/protyle/toolbar/index.ts @@ -228,7 +228,6 @@ export class Toolbar { } public setInlineMark(protyle: IProtyle, type: string, action: "range" | "toolbar", textObj?: ITextOption) { - showMessage("setInlineMark"); const nodeElement = hasClosestBlock(this.range.startContainer); if (!nodeElement || nodeElement.getAttribute("data-type") === "NodeCodeBlock") { return;