Add hotkeys to switch auto scroll direction
While auto scroll is active, the direction can be changed via the "scroll backward/forward" hotkeys
This commit is contained in:
@@ -18,6 +18,7 @@ export const ReaderAutoScrollContext = createContext<TReaderAutoScrollContext>({
|
||||
toggleActive: () => {},
|
||||
pause: () => {},
|
||||
resume: () => {},
|
||||
setDirection: () => {},
|
||||
});
|
||||
|
||||
export const useReaderAutoScrollContext = () => useContext(ReaderAutoScrollContext);
|
||||
|
||||
Reference in New Issue
Block a user