Skip to content

Commit

Permalink
fix default color not applying
Browse files Browse the repository at this point in the history
  • Loading branch information
DeDiamondPro committed Jan 11, 2024
1 parent f125974 commit c15eff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/dediamondpro/minemark/LayoutStyle.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public LayoutStyle(Alignment alignment, float fontSize, Color textColor, boolean
}

public LayoutStyle(Style style) {
this(Alignment.LEFT, style.getTextStyle().getDefaultFontSize(), Color.WHITE, false, false, false, false, false, false, false);
this(Alignment.LEFT, style.getTextStyle().getDefaultFontSize(), style.getTextStyle().getDefaultTextColor(), false, false, false, false, false, false, false);
}

public LayoutStyle clone() {
Expand Down

0 comments on commit c15eff3

Please sign in to comment.