honor the 'color main menu logo' setting for main menu buttons

This commit is contained in:
yugecin 2018-07-07 23:20:19 +02:00
parent e950b04887
commit 9af6abacb0
No known key found for this signature in database
GPG Key ID: 2C5AC035A7068E44

View File

@ -341,7 +341,7 @@ public class MainMenu extends BaseOpsuState {
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.375f * 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(logoColor);
final Image[] imgs = { final Image[] imgs = {
MENU_PLAY.getImage(), MENU_PLAY.getImage(),
MENU_OPTIONS.getImage(), MENU_OPTIONS.getImage(),