mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
fixed section display not correct in ben nanonote
This commit is contained in:
@@ -145,8 +145,8 @@ void Menu::setSectionIndex(int i) {
|
||||
i=0;
|
||||
iSection = i;
|
||||
|
||||
if (i>(int)iFirstDispSection+4)
|
||||
iFirstDispSection = i-4;
|
||||
if (i>(int)iFirstDispSection+2)
|
||||
iFirstDispSection = i-2;
|
||||
else if (i<(int)iFirstDispSection)
|
||||
iFirstDispSection = i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user