mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix incorrect invocation of scrollBy
This commit is contained in:
parent
cb5107472a
commit
d04234555d
@ -140,10 +140,10 @@ def handle_shortcut(sc_name, evt):
|
||||
goto_boundary(1)
|
||||
return True
|
||||
if sc_name is 'left':
|
||||
window.scrollBy(-15)
|
||||
window.scrollBy(-15, 0)
|
||||
return True
|
||||
if sc_name is 'right':
|
||||
window.scrollBy(-15)
|
||||
window.scrollBy(15, 0)
|
||||
return True
|
||||
if sc_name is 'start_of_book':
|
||||
get_boss().send_message('goto_doc_boundary', start=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user