mirror of https://github.com/getmango/Mango.git
Reverse J and K for page navigation
This commit is contained in:
parent
c8db397a3b
commit
b2dc44a919
|
@ -303,8 +303,8 @@ const keyHandler = (event) => {
|
|||
const mode = getProp('mode');
|
||||
if (mode === 'continuous') return;
|
||||
|
||||
if (event.key === 'ArrowLeft' || event.key === 'j')
|
||||
if (event.key === 'ArrowLeft' || event.key === 'k')
|
||||
flipPage(false);
|
||||
if (event.key === 'ArrowRight' || event.key === 'k')
|
||||
if (event.key === 'ArrowRight' || event.key === 'j')
|
||||
flipPage(true);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue