diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-06 20:54:39 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-06 20:54:39 +0200 |
commit | 1e58db410a03088ab793b24fa999311c792f2337 (patch) | |
tree | 42693d8914f958a4cc78a8c2424bad6d079831d7 /src/main/java/cc/polyfrost/oneconfig/gui | |
parent | 1cfdef78d7f51f1d6e50dec4a16ac9dfe5f61a58 (diff) | |
download | OneConfig-1e58db410a03088ab793b24fa999311c792f2337.tar.gz OneConfig-1e58db410a03088ab793b24fa999311c792f2337.tar.bz2 OneConfig-1e58db410a03088ab793b24fa999311c792f2337.zip |
maybe fix font size
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java index abae368..00dbd9f 100644 --- a/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java @@ -70,8 +70,7 @@ public class ConfigSlider extends BasicOption { RenderManager.drawRoundedRect(vg, i - 2, y + 9, 4, 14, color, 2f); } } - if (step == 0) - RenderManager.drawRoundedRect(vg, xCoordinate - 12, y + 4, 24, 24, OneConfigConfig.WHITE, 12f); + if (step == 0) RenderManager.drawRoundedRect(vg, xCoordinate - 12, y + 4, 24, 24, OneConfigConfig.WHITE, 12f); else RenderManager.drawRoundedRect(vg, xCoordinate - 4, y + 4, 8, 24, OneConfigConfig.WHITE, 4f); inputField.draw(vg, x + 892, y); } |