fix dropdowns vertical position in optionsmenu
This commit is contained in:
parent
611e539c14
commit
11acbaaf3a
|
@ -223,7 +223,7 @@ public class OptionsOverlay extends OverlayOpsuState {
|
||||||
menu.setChevronRightColor(COL_BG);
|
menu.setChevronRightColor(COL_BG);
|
||||||
menu.setHighlightColor(COL_COMBOBOX_HOVER);
|
menu.setHighlightColor(COL_COMBOBOX_HOVER);
|
||||||
menu.setTextColor(COL_WHITE);
|
menu.setTextColor(COL_WHITE);
|
||||||
dropdownMenuPaddingY = (optionHeight - menu.getHeight()); // TODO why isn't this /2 ?
|
dropdownMenuPaddingY = (optionHeight - menu.getHeight()) / 2;
|
||||||
dropdownMenus.put(option, menu);
|
dropdownMenus.put(option, menu);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user