From c1f137c72d4a997736f77c28179a8031910332df Mon Sep 17 00:00:00 2001 From: yugecin Date: Sun, 11 Dec 2016 10:23:32 +0100 Subject: [PATCH] color the value --- src/yugecin/opsudance/ui/OptionsOverlay.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yugecin/opsudance/ui/OptionsOverlay.java b/src/yugecin/opsudance/ui/OptionsOverlay.java index 40c600dc..13627e78 100644 --- a/src/yugecin/opsudance/ui/OptionsOverlay.java +++ b/src/yugecin/opsudance/ui/OptionsOverlay.java @@ -218,7 +218,7 @@ public class OptionsOverlay { int nameLen = Fonts.MEDIUM.getWidth(option.getName()); int valueLen = Fonts.MEDIUM.getWidth(value); Fonts.MEDIUM.drawString(optionStartX, y, option.getName(), textColor); - Fonts.MEDIUM.drawString(optionStartX + optionWidth - valueLen, y, value, textColor); + Fonts.MEDIUM.drawString(optionStartX + optionWidth - valueLen, y, value, Colors.BLUE_BACKGROUND); int sliderLen = optionWidth - nameLen - valueLen - 50; if (hoverOption == option) { @@ -241,7 +241,7 @@ public class OptionsOverlay { String value = option.getValueString(); int valueLen = Fonts.MEDIUM.getWidth(value); Fonts.MEDIUM.drawString(optionStartX, y, option.getName(), textColor); - Fonts.MEDIUM.drawString(optionStartX + optionWidth - valueLen, y, value, textColor); + Fonts.MEDIUM.drawString(optionStartX + optionWidth - valueLen, y, value, Colors.BLUE_BACKGROUND); } public void renderTabs(int mouseX, int mouseY) {