Skip to content

Commit c15eff3

Browse files
committed
fix default color not applying
1 parent f125974 commit c15eff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/dediamondpro/minemark/LayoutStyle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public LayoutStyle(Alignment alignment, float fontSize, Color textColor, boolean
5050
}
5151

5252
public LayoutStyle(Style style) {
53-
this(Alignment.LEFT, style.getTextStyle().getDefaultFontSize(), Color.WHITE, false, false, false, false, false, false, false);
53+
this(Alignment.LEFT, style.getTextStyle().getDefaultFontSize(), style.getTextStyle().getDefaultTextColor(), false, false, false, false, false, false, false);
5454
}
5555

5656
public LayoutStyle clone() {

0 commit comments

Comments
 (0)