No menu dialog tint

This commit is contained in:
Anuken
2022-10-10 10:47:57 -04:00
parent 7f51ddf425
commit 8edc7b3255

View File

@@ -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();