diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-12 12:21:55 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-12 12:21:55 +0200 |
commit | d34feb844550ad08691dfafe6b7bf50b14611c7a (patch) | |
tree | cf2b197dea6a0eda5050ee6e59f726ce3db76994 /src/main | |
parent | 300aee00a746b1eb495c9c9e35934474c8e60e37 (diff) | |
download | OneConfig-d34feb844550ad08691dfafe6b7bf50b14611c7a.tar.gz OneConfig-d34feb844550ad08691dfafe6b7bf50b14611c7a.tar.bz2 OneConfig-d34feb844550ad08691dfafe6b7bf50b14611c7a.zip |
oops
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java | 1 |
1 files changed, 1 insertions, 0 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 221b1df..7da1352 100644 --- a/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java @@ -64,6 +64,7 @@ public class ModCard extends BasicElement { favorite = favoriteButton.isToggled(); Scissor scissor2 = ScissorManager.scissor(vg, x, y + 87, width - 32, 32); RenderManager.drawText(vg, cleanName, x + 12, y + 103, ColorUtils.setAlpha(Colors.WHITE, (int) (colorToggle.getAlpha() * 255)), 14f, Fonts.MEDIUM); + ScissorManager.resetScissor(vg, scissor2); if (favorite) favoriteButton.setLeftIcon(SVGs.HEART_FILL); else favoriteButton.setLeftIcon(SVGs.HEART_OUTLINE); |