Skip to content

Commit 0f12a36

Browse files
committed
Fix page indicator size when scale=1
1 parent 7b98eec commit 0f12a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def display_page(page_index):
359359
print(f"{grid_index} | {grid_index % config["width"], grid_index // config["width"]}")
360360

361361

362-
page_txt = Label(terminalio.FONT, text="", scale=2, color=color_palette["fg"])
362+
page_txt = Label(terminalio.FONT, text="", scale=scale, color=color_palette["fg"])
363363
page_txt.anchor_point = (1.0, 1.0)
364364
page_txt.anchored_position = (display.width - 2, display.height - 2)
365365
main_group.append(page_txt)

0 commit comments

Comments
 (0)