slight menu optimization for long menus
This commit is contained in:
parent
f5a1ef32c9
commit
9ff3f5c447
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user