mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 10:23:41 +02:00
Case independent
This commit is contained in:
parent
7c143c7207
commit
d94c2f21e7
1 changed files with 2 additions and 1 deletions
|
|
@ -211,7 +211,8 @@ def cancel_scroll():
|
|||
def is_scroll_end(pos):
|
||||
return not (0 <= pos <= document_height() - window.innerHeight)
|
||||
|
||||
DIRECTION = {'Up': -1, 'Down': 1}
|
||||
|
||||
DIRECTION = {'Up': -1, 'up': -1, 'Down': 1, 'down': 1, 'UP': -1, 'DOWN': 1}
|
||||
|
||||
|
||||
class ScrollAnimator:
|
||||
|
|
|
|||
Loading…
Reference in a new issue