mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 00:56:40 -04:00
Fill left options column first
This commit is contained in:
parent
1853ef1a3a
commit
eb7fb558e6
@ -239,7 +239,7 @@ static int MenuOptionsScreen_AddButton(struct MenuOptionsScreen* s, const char*
|
||||
|
||||
static void MenuOptionsScreen_EndButtons(struct MenuOptionsScreen* s, Widget_LeftClick backClick) {
|
||||
struct ButtonWidget* btn;
|
||||
int i, col, row, half = s->numButtons / 2;
|
||||
int i, col, row, half = (s->numButtons + 1) / 2;
|
||||
int begRow = 2 - half;
|
||||
if (s->numButtons & 1) begRow--;
|
||||
begRow = max(-3, begRow);
|
||||
|
Loading…
x
Reference in New Issue
Block a user