mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/MorganSeltzer000/calibre
E-book viewer: Fix scrolling backwards by screen-fulls not working with very large page margins.
This commit is contained in:
commit
879262929e
@ -453,7 +453,7 @@ def previous_screen_location():
|
||||
if is_full_screen_layout:
|
||||
return -1
|
||||
cc = current_column_location()
|
||||
ans = cc - screen_inline
|
||||
ans = cc - cols_per_screen * col_and_gap
|
||||
if ans < 0:
|
||||
# We ignore small scrolls (less than 15px) when going to previous
|
||||
# screen
|
||||
|
Loading…
x
Reference in New Issue
Block a user