Verified Commit 5e5c7a4f authored by Rahix's avatar Rahix
Browse files

fix(menu.py): Fix color-mismatch of selector background



Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent e02671f1
......@@ -61,7 +61,12 @@ def draw_menu(disp, applist, idx, offset):
bg=COLOR1 if i % 2 == 0 else COLOR2,
)
disp.print(">", posy=20, fg=color.COMMYELLOW, bg=COLOR2 if idx % 2 == 0 else COLOR1)
disp.print(
">",
posy=20,
fg=color.COMMYELLOW,
bg=COLOR1 if (idx + len(applist)) % 2 == 0 else COLOR2,
)
disp.update()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment