From b3903440df6bc4ddac28efd641ffdbd8a4b1d9fa Mon Sep 17 00:00:00 2001 From: Sulthan Zaki Date: Tue, 28 Jul 2026 16:03:41 +0700 Subject: [PATCH] docs: correct the long-press comment's pinch-zoom claim MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The slop check cancels a normal-speed pinch, not every pinch. Verified live: a deliberately slow one that stays inside 15px for the full 500ms does open the panel. Accepted — an absolute per-finger drift threshold cannot separate that from two fingers resting, which is the gesture being detected. Co-Authored-By: Claude Opus 5 --- userscript/manga-bookmark.user.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/userscript/manga-bookmark.user.js b/userscript/manga-bookmark.user.js index bba6191..5be6f6c 100644 --- a/userscript/manga-bookmark.user.js +++ b/userscript/manga-bookmark.user.js @@ -1243,8 +1243,13 @@ opts ); - // A pinch-zoom is two fingers held down, so the slop check is what keeps it - // from opening the panel mid-gesture. + // A pinch-zoom is two fingers held down, so the slop check is what keeps a + // normal-speed one from opening the panel mid-gesture. Verified 2026-07-28: + // a pinch that reaches 240px in ~240ms cancels well before the timer. A + // deliberately slow pinch that stays inside the slop for the full 500ms + // does open the panel — accepted, since an absolute per-finger drift + // threshold cannot tell that apart from two fingers resting, which is the + // gesture this is for. document.addEventListener( "touchmove", (e) => {