From a21e216eb9881417b5ab190fc14dd65dac4bad68 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Fri, 16 Dec 2022 19:34:56 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=B1=D0=B0=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Reader/TextPage/TextPage.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/components/Reader/TextPage/TextPage.vue b/client/components/Reader/TextPage/TextPage.vue index 04831091..03518293 100644 --- a/client/components/Reader/TextPage/TextPage.vue +++ b/client/components/Reader/TextPage/TextPage.vue @@ -1064,6 +1064,7 @@ class TextPage { if (this.startTouch) { const dy = this.startTouch.y - y; const dx = this.startTouch.x - x; + this.startTouch = null; const moveDelta = 30; const touchDelta = 15; if (dy > 0 && Math.abs(dy) >= moveDelta && Math.abs(dy) > Math.abs(dx)) { @@ -1096,8 +1097,6 @@ class TextPage { this.clickAction = ''; })(); } - - this.startTouch = null; } } }