mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 04:03:52 +02:00
Fix next_screen_location()
The change to column_at() to consider points on the boundary as belonging to the left column broke next_screen_location()
This commit is contained in:
parent
3818b5e1c4
commit
448651d2fc
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ def next_screen_location():
|
|||
if is_full_screen_layout:
|
||||
return -1
|
||||
cc = current_column_location()
|
||||
ans = cc + screen_inline
|
||||
ans = cc + screen_inline + 1
|
||||
if cols_per_screen > 1 and 0 < number_of_cols_left() < cols_per_screen:
|
||||
return -1 # Only blank, dummy pages left
|
||||
limit = scroll_viewport.paged_content_inline_size() - scroll_viewport.inline_size()
|
||||
|
|
|
|||
Loading…
Reference in a new issue