From 8edc7b325546df52c28951180570ad11066e43c7 Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 10 Oct 2022 10:47:57 -0400 Subject: [PATCH] No menu dialog tint --- core/src/mindustry/core/UI.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/core/UI.java b/core/src/mindustry/core/UI.java index 9488cce27a..4f054fc293 100644 --- a/core/src/mindustry/core/UI.java +++ b/core/src/mindustry/core/UI.java @@ -561,11 +561,15 @@ public class UI implements ApplicationListener, Loadable{ /** Shows a menu that fires a callback when an option is selected. If nothing is selected, -1 is returned. */ public void showMenu(String title, String message, String[][] options, Intc callback){ - new Dialog(title){{ + new Dialog("[accent]" + title){{ setFillParent(true); removeChild(titleTable); cont.add(titleTable).width(400f); + getStyle().titleFontColor = Color.white; + title.getStyle().fontColor = Color.white; + title.setStyle(title.getStyle()); + cont.row(); cont.image().width(400f).pad(2).colspan(2).height(4f).color(Pal.accent).bottom(); cont.row();