From e6a105c76643d59b84d16d53160c45ae06390369 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sat, 5 Apr 2025 13:01:40 +0200 Subject: [PATCH] Fix increase/decrease of auto scroll speed Hotkeys were switched and did the opposite of their intended action --- src/modules/reader/components/ReaderHotkeys.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/reader/components/ReaderHotkeys.tsx b/src/modules/reader/components/ReaderHotkeys.tsx index 472cd4b9..2133fd97 100644 --- a/src/modules/reader/components/ReaderHotkeys.tsx +++ b/src/modules/reader/components/ReaderHotkeys.tsx @@ -200,7 +200,7 @@ export const ReaderHotkeys = ({ automaticScrolling.toggleActive, ]); useHotkeys( - hotkeys[ReaderHotkey.AUTO_SCROLL_SPEED_INCREASE], + hotkeys[ReaderHotkey.AUTO_SCROLL_SPEED_DECREASE], () => updateSetting('autoScroll', { ...autoScroll, @@ -209,7 +209,7 @@ export const ReaderHotkeys = ({ [updateSetting, autoScroll.value], ); useHotkeys( - hotkeys[ReaderHotkey.AUTO_SCROLL_SPEED_DECREASE], + hotkeys[ReaderHotkey.AUTO_SCROLL_SPEED_INCREASE], () => updateSetting('autoScroll', { ...autoScroll,