aboutsummaryrefslogtreecommitdiffstats
path: root/epy.py
diff options
context:
space:
mode:
authorbenadha <benawiadha@gmail.com>2022-01-25 05:24:17 +0700
committerbenadha <benawiadha@gmail.com>2022-01-25 05:24:17 +0700
commit9d59248c311a52eb03ffeb30701c2e2b12ec8df7 (patch)
tree12a91f4e995b5700dce6cc002fce4ff3386bcc04 /epy.py
parent74f7e027ba7569735951d91e25084c0851796960 (diff)
downloadepy-9d59248c311a52eb03ffeb30701c2e2b12ec8df7.tar.gz
Bugfix #51: Stop/prevent scrolling at the end of ebookv2022.1.25
Diffstat (limited to 'epy.py')
-rwxr-xr-xepy.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/epy.py b/epy.py
index 088c32c..e08cee6 100755
--- a/epy.py
+++ b/epy.py
@@ -23,7 +23,7 @@ examples:
"""
-__version__ = "2022.1.23"
+__version__ = "2022.1.25"
__license__ = "GPL-3.0"
__author__ = "Benawi Adha"
__email__ = "benawiadha@gmail.com"
@@ -3280,8 +3280,6 @@ class Reader:
textwidth=reading_state.textwidth,
row=0,
)
- else:
- reading_state = dataclasses.replace(reading_state, row=totlines - rows)
elif k in self.keymap.PageDown:
if totlines - reading_state.row > rows * self.spread: