We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 982b1db commit c29b6e2Copy full SHA for c29b6e2
badge/apps/menu/__init__.py
@@ -88,7 +88,9 @@ def update():
88
icons = load_page_icons(current_page)
89
active = 0
90
else:
91
- # Wrap to beginning
+ # Wrap to beginning (first page, first icon)
92
+ current_page = 0
93
+ icons = load_page_icons(current_page)
94
95
elif active < 0:
96
if current_page > 0:
@@ -97,7 +99,9 @@ def update():
97
99
98
100
active = len(icons) - 1
101
- # Wrap to end
102
+ # Wrap to last page, last icon
103
+ current_page = total_pages - 1
104
105
106
107
# Launch app with error handling
0 commit comments