fix dropdowns vertical position in optionsmenu

This commit is contained in:
yugecin 2017-02-03 16:27:06 +01:00
parent 611e539c14
commit 11acbaaf3a

View File

@ -223,7 +223,7 @@ public class OptionsOverlay extends OverlayOpsuState {
menu.setChevronRightColor(COL_BG);
menu.setHighlightColor(COL_COMBOBOX_HOVER);
menu.setTextColor(COL_WHITE);
dropdownMenuPaddingY = (optionHeight - menu.getHeight()); // TODO why isn't this /2 ?
dropdownMenuPaddingY = (optionHeight - menu.getHeight()) / 2;
dropdownMenus.put(option, menu);
}
}