Skip to content

Commit 93d3e04

Browse files
committed
Made top and end buttons closer to end, modified page number in window title for clarity
1 parent 99ed3af commit 93d3e04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CustomScroller.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ def stop_scroll(self, event):
116116
self.canvas.config(cursor="")
117117

118118
def scroll_to_start(self):
119-
self.canvas.yview_moveto(0.05)
119+
self.canvas.yview_moveto(0.01)
120120

121121
def scroll_to_end(self):
122-
self.canvas.yview_moveto(0.95)
122+
self.canvas.yview_moveto(0.99)
123123

124124
# Load page from popup input
125125
def scroll_to_page(self):
@@ -206,7 +206,7 @@ def update_title_name(self):
206206
total_size = len(os.listdir(self.path))
207207
current_page = math.floor(self.image_index / self.image_load) + 1
208208
total_pages = math.ceil(max(1, total_size / self.image_load))
209-
self.window.title(f"[WebtoonReader] - {self.manga_name} : {os.path.basename(self.path)} | {current_page} out of {total_pages}")
209+
self.window.title(f"[WebtoonReader] - {self.manga_name} : {os.path.basename(self.path)} | Page ({current_page} / {total_pages})")
210210

211211
# Natural sort files
212212
def natural_sort(self, l):

0 commit comments

Comments
 (0)