mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:53:27 +02:00
add a note
This commit is contained in:
parent
c1d261defb
commit
e9e53e767b
1 changed files with 1 additions and 0 deletions
|
|
@ -574,6 +574,7 @@ def handle_gesture(gesture):
|
|||
q = -q
|
||||
|
||||
if q + 1 < scroll_viewport.block_pos():
|
||||
# the + 1 is needed for visibility when top aligned, see: https://bugs.launchpad.net/calibre/+bug/1924890
|
||||
return -1
|
||||
if q <= scroll_viewport.block_pos() + scroll_viewport.block_size():
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue