diff options
author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-07 13:04:28 +0100 |
---|---|---|
committer | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-07 13:04:28 +0100 |
commit | d76f7508efc75c050d8703787652bac2de6537a1 (patch) | |
tree | c95f1f2b23fc0e33ad5d5f405c6b3be5b73aa89d /src/main/java/cc/polyfrost/oneconfig/gui/elements/text | |
parent | 80e344c9506749e5ed3960a102cee1c1ec32a60f (diff) | |
download | OneConfig-d76f7508efc75c050d8703787652bac2de6537a1.tar.gz OneConfig-d76f7508efc75c050d8703787652bac2de6537a1.tar.bz2 OneConfig-d76f7508efc75c050d8703787652bac2de6537a1.zip |
start on color selector
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/elements/text')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/text/TextInputField.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/elements/text/TextInputField.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/text/TextInputField.java index 02ebe86..59897c6 100644 --- a/src/main/java/cc/polyfrost/oneconfig/gui/elements/text/TextInputField.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/text/TextInputField.java @@ -88,7 +88,7 @@ public class TextInputField extends BasicElement { try { Scissor scissor = ScissorManager.scissor(vg, x, y, width, height); int colorOutline = errored ? OneConfigConfig.ERROR_700 : OneConfigConfig.GRAY_700; - RenderManager.drawHollowRoundRect(vg, x, y, width, height, colorOutline, 12f, 2f); + RenderManager.drawHollowRoundRect(vg, x, y, width - 0.5f, height - 0.5f, colorOutline, 12f, 2f); super.update(x, y); if (Mouse.isButtonDown(0) && !InputUtils.isAreaHovered(x - 40, y - 20, width + 90, height + 20)) { onClose(); |