diff options
author | benadha <benawiadha@gmail.com> | 2021-02-02 11:22:23 +0700 |
---|---|---|
committer | benadha <benawiadha@gmail.com> | 2021-02-02 11:22:23 +0700 |
commit | b74cf629f17cbd5e822998165f7d7a37171e6982 (patch) | |
tree | 5900c0d576d590ef11e53a288fc0e81581215600 /epy.py | |
parent | 8efaa9cf07a28f84d14478ab1415c2699f5c3af4 (diff) | |
download | epy-b74cf629f17cbd5e822998165f7d7a37171e6982.tar.gz |
Bug fix: scroll down behaviour when totlines < rows
Diffstat (limited to 'epy.py')
-rwxr-xr-x | epy.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1700,7 +1700,7 @@ def reader(ebook, index, width, y, pctg, sect): svline = y + rows - 1 if y + count <= totlines - rows: y += count - elif y == totlines - rows and index != len(contents)-1: + elif y >= totlines - rows and index != len(contents)-1: ANIMATE = "next" return 1, width, 0, None, "" else: |