From b50bc0b854af10a1b2dcf93b795a592270922092 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Fri, 27 Feb 2026 14:24:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20make=20touchpad=20scrolling=20respect=20?= =?UTF-8?q?the=20system=E2=80=99s=20natural=20scrolling=20settings,=20clos?= =?UTF-8?q?es=20#3127=20(#3398)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/readest-app/src/app/reader/hooks/usePagination.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/readest-app/src/app/reader/hooks/usePagination.ts b/apps/readest-app/src/app/reader/hooks/usePagination.ts index 845ac9f5..df93f769 100644 --- a/apps/readest-app/src/app/reader/hooks/usePagination.ts +++ b/apps/readest-app/src/app/reader/hooks/usePagination.ts @@ -187,9 +187,9 @@ export const usePagination = ( viewPagination(viewRef.current, viewSettings, 'down'); } else if (deltaY < 0) { viewPagination(viewRef.current, viewSettings, 'up'); - } else if (deltaX > 0) { - viewPagination(viewRef.current, viewSettings, 'left'); } else if (deltaX < 0) { + viewPagination(viewRef.current, viewSettings, 'left'); + } else if (deltaX > 0) { viewPagination(viewRef.current, viewSettings, 'right'); } } else if (msg.data.type === 'iframe-mouseup') {