From 1ac1b9612779ce7963087ad2f905fa56852b7277 Mon Sep 17 00:00:00 2001 From: yugecin Date: Tue, 20 Dec 2016 19:23:58 +0100 Subject: [PATCH] render the checkbox in optionsoverlay in the middle of the line --- 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 f7a517b3..fdff1e3f 100644 --- a/src/yugecin/opsudance/ui/OptionsOverlay.java +++ b/src/yugecin/opsudance/ui/OptionsOverlay.java @@ -284,9 +284,9 @@ public class OptionsOverlay { private void renderCheckOption(Graphics g, GameOption option, int y, Color textColor) { if (option.getBooleanValue()) { - checkOnImg.draw(optionStartX, y + optionHeight / 4, Color.pink); + checkOnImg.draw(optionStartX, y + optionHeight / 2 - 10, Color.pink); } else { - checkOffImg.draw(optionStartX, y + optionHeight / 4, Color.pink); + checkOffImg.draw(optionStartX, y + optionHeight / 2 - 10, Color.pink); } Fonts.MEDIUM.drawString(optionStartX + 30, y, option.getName(), textColor); }