Save 8 bytes
This commit is contained in:
@@ -1143,10 +1143,14 @@ void UI_DisplayMenu(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// center vertically'ish
|
// center vertically'ish
|
||||||
|
/*
|
||||||
if (small)
|
if (small)
|
||||||
y = 3 - ((lines + 0) / 2); // untested
|
y = 3 - ((lines + 0) / 2); // untested
|
||||||
else
|
else
|
||||||
y = 2 - ((lines + 0) / 2);
|
y = 2 - ((lines + 0) / 2);
|
||||||
|
*/
|
||||||
|
|
||||||
|
y = (small ? 3 : 2) - (lines / 2);
|
||||||
|
|
||||||
// only for SysInf
|
// only for SysInf
|
||||||
if(UI_MENU_GetCurrentMenuId() == MENU_VOL)
|
if(UI_MENU_GetCurrentMenuId() == MENU_VOL)
|
||||||
|
Reference in New Issue
Block a user