From 9ff3f5c447e7d7c7c19c09691fcd23d7827779ae Mon Sep 17 00:00:00 2001 From: scgbckbone Date: Sun, 24 May 2026 20:12:18 +0200 Subject: [PATCH] slight menu optimization for long menus --- shared/menu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/menu.py b/shared/menu.py index ccaa9e50..c7ce83cb 100644 --- a/shared/menu.py +++ b/shared/menu.py @@ -290,7 +290,7 @@ class MenuSystem: dis.clear() cursor_y = None - for n in range(self.ypos+PER_M+1): + for n in range(PER_M+1): real_idx = n+self.ypos if real_idx >= self.count: break