mainmenu: tweak button widths

This commit is contained in:
yugecin 2018-07-07 23:18:31 +02:00
parent 2506a0b989
commit e950b04887
No known key found for this signature in database
GPG Key ID: 2C5AC035A7068E44

View File

@ -340,7 +340,7 @@ public class MainMenu extends BaseOpsuState {
final int btnwidth = MENU_OPTIONS.getImage().getWidth(); final int btnwidth = MENU_OPTIONS.getImage().getWidth();
final float btnhalfheight = MENU_OPTIONS.getImage().getHeight() / 2f; final float btnhalfheight = MENU_OPTIONS.getImage().getHeight() / 2f;
final int basey = displayContainer.height / 2; final int basey = displayContainer.height / 2;
final int x = (int) (this.buttonsX + btnwidth * 0.3f * buttonProgress); final int x = (int) (this.buttonsX + btnwidth * 0.375f * buttonProgress);
final Color col = new Color(1f, 1f, 1f, 1f); final Color col = new Color(1f, 1f, 1f, 1f);
final Image[] imgs = { final Image[] imgs = {
MENU_PLAY.getImage(), MENU_PLAY.getImage(),