]> git.lizzy.rs Git - nhentai.git/commit
Changed keyboard nav
authorreynog <59975438+reynog@users.noreply.github.com>
Thu, 16 Jan 2020 19:20:42 +0000 (20:20 +0100)
committerGitHub <noreply@github.com>
Thu, 16 Jan 2020 19:20:42 +0000 (20:20 +0100)
commit53e1923e67c64469eb7d1c09888c3f57c21b27dc
tree970ce7f22774809ecd8d53acff8c17e14f04bc07
parentba6d4047e21b5d7dea8b062d3d5d70578d025229
Changed keyboard nav

In conjunction with styles.css change, changed W, and S keys to scroll image vertically and removed page change from Up and Down, leaving A, D, Left, and Right as keys for changing page. Page returns to the top when changing page. W and S scroll behavior is not smooth. Up and Down scroll relies on browser's in-built keyboard scrolling functionality.
nhentai/viewer/scripts.js