Skip to content

Commit

Permalink
Fix hover texture not being applied to button theme (GregTechCEu#2623)
Browse files Browse the repository at this point in the history
  • Loading branch information
miozune authored Sep 22, 2024
1 parent ca583bc commit c7fa6db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/gregtech/api/mui/GTGuiTheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ public Builder button(String buttonId, String hoverId, int textColor, boolean te
.add("background", new JsonBuilder()
.add("type", "texture")
.add("id", buttonId))
.add("hoverBackground", hoverId)
.add("hoverBackground", new JsonBuilder()
.add("type", "texture")
.add("id", hoverId))
.add("textColor", textColor)
.add("textShadow", textShadow)));
return this;
Expand Down

0 comments on commit c7fa6db

Please sign in to comment.