Fix increase/decrease of auto scroll speed
Hotkeys were switched and did the opposite of their intended action
This commit is contained in:
@@ -200,7 +200,7 @@ export const ReaderHotkeys = ({
|
|||||||
automaticScrolling.toggleActive,
|
automaticScrolling.toggleActive,
|
||||||
]);
|
]);
|
||||||
useHotkeys(
|
useHotkeys(
|
||||||
hotkeys[ReaderHotkey.AUTO_SCROLL_SPEED_INCREASE],
|
hotkeys[ReaderHotkey.AUTO_SCROLL_SPEED_DECREASE],
|
||||||
() =>
|
() =>
|
||||||
updateSetting('autoScroll', {
|
updateSetting('autoScroll', {
|
||||||
...autoScroll,
|
...autoScroll,
|
||||||
@@ -209,7 +209,7 @@ export const ReaderHotkeys = ({
|
|||||||
[updateSetting, autoScroll.value],
|
[updateSetting, autoScroll.value],
|
||||||
);
|
);
|
||||||
useHotkeys(
|
useHotkeys(
|
||||||
hotkeys[ReaderHotkey.AUTO_SCROLL_SPEED_DECREASE],
|
hotkeys[ReaderHotkey.AUTO_SCROLL_SPEED_INCREASE],
|
||||||
() =>
|
() =>
|
||||||
updateSetting('autoScroll', {
|
updateSetting('autoScroll', {
|
||||||
...autoScroll,
|
...autoScroll,
|
||||||
|
|||||||
Reference in New Issue
Block a user