Files
MinecraftForge/patches/minecraft/net/minecraft/client/gui/components/AbstractButton.java.patch
T
2024-10-25 18:04:34 -07:00

12 lines
408 B
Diff

--- a/net/minecraft/client/gui/components/AbstractButton.java
+++ b/net/minecraft/client/gui/components/AbstractButton.java
@@ -39,7 +_,7 @@
this.getHeight(),
ARGB.white(this.alpha)
);
- int i = this.active ? 16777215 : 10526880;
+ int i = getFGColor();
this.renderString(p_281670_, minecraft.font, i | Mth.ceil(this.alpha * 255.0F) << 24);
}