diff --git a/src/itdelatrisu/opsu/Utils.java b/src/itdelatrisu/opsu/Utils.java index 42031292..e7f26138 100644 --- a/src/itdelatrisu/opsu/Utils.java +++ b/src/itdelatrisu/opsu/Utils.java @@ -248,8 +248,7 @@ public class Utils { public static void drawTab(float x, float y, String text, boolean selected, boolean isHover) { Image tabImage = GameImage.MENU_TAB.getImage(); float tabTextX = x - (Utils.FONT_MEDIUM.getWidth(text) / 2); - float tabTextY = y - (tabImage.getHeight() / 2f) + - Math.max((tabImage.getHeight() - Utils.FONT_MEDIUM.getLineHeight()) / 1.5f, 0); + float tabTextY = y - (tabImage.getHeight() / 2.5f); Color filter, textColor; if (selected) { filter = Color.white; diff --git a/src/itdelatrisu/opsu/states/OptionsMenu.java b/src/itdelatrisu/opsu/states/OptionsMenu.java index 91e666e2..2eee46fc 100644 --- a/src/itdelatrisu/opsu/states/OptionsMenu.java +++ b/src/itdelatrisu/opsu/states/OptionsMenu.java @@ -179,7 +179,7 @@ public class OptionsMenu extends BasicGameState { float tabX = (width / 50) + (tabImage.getWidth() / 2f); float tabY = Utils.FONT_LARGE.getLineHeight() + Utils.FONT_DEFAULT.getLineHeight() + height * 0.03f + (tabImage.getHeight() / 2f); - int tabOffset = Math.min(tabImage.getWidth(), (width / 2) / OptionTab.SIZE); + int tabOffset = Math.min(tabImage.getWidth(), width / OptionTab.SIZE); for (OptionTab tab : OptionTab.values()) tab.button = new MenuButton(tabImage, tabX + (tab.ordinal() * tabOffset), tabY);