Skip to content
Snippets Groups Projects

gr33nhouse: Don't render invisible entries in the applist

Merged dos requested to merge dos/flow3r-firmware:gr33nhouse-fps into main
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -106,8 +106,9 @@ class AppList(BaseView):
else:
ctx.gray(1.0)
ctx.move_to(0, offset)
ctx.text(app["name"])
if abs(self._sc.current_position() - idx) <= 5:
ctx.move_to(0, offset)
ctx.text(app["name"])
offset += 30
ctx.restore()
Loading