aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-03 18:13:50 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-03 18:13:50 +0200
commit91da97c6843b76829a6b8cf1321f3d38f4e8893b (patch)
treedc7b3dda3ee8ef5ebb88d13c3511b51b7668e002 /src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
parent5771df1bb5d2bb18507badd68ed3e0718cbb9abc (diff)
downloadOneConfig-91da97c6843b76829a6b8cf1321f3d38f4e8893b.tar.gz
OneConfig-91da97c6843b76829a6b8cf1321f3d38f4e8893b.tar.bz2
OneConfig-91da97c6843b76829a6b8cf1321f3d38f4e8893b.zip
color anims start
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
index d5e8895..ad3e998 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
@@ -51,8 +51,8 @@ public class ModCard extends BasicElement {
RenderManager.drawSvg(vg, SVGs.BOX, x + 98, y + 19, 48, 48);
}
favoriteHitbox.update(x + 212, y + 87);
- favoriteHitbox.currentColor = ColorUtils.getColor(favoriteHitbox.currentColor, favoriteHitbox.colorPalette, favoriteHitbox.hovered, favoriteHitbox.clicked);
- RenderManager.drawRoundedRectVaried(vg, x + 212, y + 87, 32, 32, favoriteHitbox.currentColor, 0f, 0f, 12f, 0f);
+ //favoriteHitbox.currentColor = ColorUtils.getColor(favoriteHitbox.currentColor, favoriteHitbox.colorPalette, favoriteHitbox.hovered, favoriteHitbox.clicked);
+ //RenderManager.drawRoundedRectVaried(vg, x + 212, y + 87, 32, 32, favoriteHitbox.currentColor, 0f, 0f, 12f, 0f);
favorite = favoriteHitbox.isToggled();
RenderManager.drawText(vg, modData.name, x + 12, y + 103, OneConfigConfig.WHITE, 14f, Fonts.MEDIUM);
if (favorite) {