mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 21:17:01 +02:00
Viewer: Fix scrolling by screenfuls not working correctly in flow mode
This commit is contained in:
parent
a1d51ea302
commit
d66ed41ef9
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ def on_scroll_to_anchor(self, data):
|
|||
def on_next_screen(self, data):
|
||||
backwards = data.backwards
|
||||
if current_layout_mode() is 'flow':
|
||||
flow_scroll_by_page(backwards)
|
||||
flow_scroll_by_page(-1 if backwards else 1)
|
||||
else:
|
||||
paged_scroll_by_page(backwards, data.all_pages_on_screen)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue