aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-08 14:06:40 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-08 14:06:40 +0200
commit2e97dce17a401b790799265523d72a3d168e2b7f (patch)
treeef4909a4ee1f21abe0c4c0a1baac92f45c80ec7f /src/main
parente609d6a09c71ef88be32efd8aae832f813abd64b (diff)
downloadOneConfig-2e97dce17a401b790799265523d72a3d168e2b7f.tar.gz
OneConfig-2e97dce17a401b790799265523d72a3d168e2b7f.tar.bz2
OneConfig-2e97dce17a401b790799265523d72a3d168e2b7f.zip
fix close icon
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/gui/elements/ColorSelector.java2
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java1
-rw-r--r--src/main/resources/assets/oneconfig/textures/gui/general/color/close_color.pngbin0 -> 599 bytes
3 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/elements/ColorSelector.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ColorSelector.java
index a57226f..13a4dd2 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/elements/ColorSelector.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ColorSelector.java
@@ -57,7 +57,7 @@ public class ColorSelector {
RenderManager.drawRoundedRect(vg, x, y, width, height, OneConfigConfig.GRAY_800, 20f);
RenderManager.drawString(vg, "Color Selector", x + 16, y + 32, OneConfigConfig.WHITE_90, 18f, Fonts.SEMIBOLD);
closeBtn.draw(vg, x + 368, y + 16);
- RenderManager.drawImage(vg, Images.CLOSE, x + 369, y + 17, 30, 30);
+ RenderManager.drawImage(vg, Images.CLOSE_COLOR, x + 369, y + 17, 32, 32);
if (closeBtn.isClicked()) {
OneConfigGui.INSTANCE.closeColorSelector();
}
diff --git a/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java
index 6232855..a7c252e 100644
--- a/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java
+++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java
@@ -18,6 +18,7 @@ public enum Images {
COLOR_BASE_LARGE("/assets/oneconfig/textures/gui/general/color/color_base_large.png"),
COLOR_WHEEL("/assets/oneconfig/textures/gui/general/color/color_wheel.png"),
HUE_GRADIENT("/assets/oneconfig/textures/gui/general/color/huegradient.png"),
+ CLOSE_COLOR("/assets/oneconfig/textures/gui/general/color/close_color.png"),
INFO("/assets/oneconfig/textures/gui/icons/alert/info.png"),
SUCCESS("/assets/oneconfig/textures/gui/icons/alert/success.png"),
diff --git a/src/main/resources/assets/oneconfig/textures/gui/general/color/close_color.png b/src/main/resources/assets/oneconfig/textures/gui/general/color/close_color.png
new file mode 100644
index 0000000..f0bd126
--- /dev/null
+++ b/src/main/resources/assets/oneconfig/textures/gui/general/color/close_color.png
Binary files differ