Skip to content

Commit

Permalink
Merge branch 'master' into 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
toxicity188 committed Dec 6, 2024
2 parents 651f750 + ff09ed8 commit b12acdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/src/main/kotlin/kr/toxicity/hud/layout/TextLayout.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ interface TextLayout : HudLayout<TextElement> {

override val pattern: String = yamlObject["pattern"]?.asString().ifNull("pattern value not set: $s")
override val scale: Double = yamlObject.getAsDouble("scale", 1.0)
override val space: Int = yamlObject.getAsInt("space", 0).coerceAtLeast(0)
override val space: Int = yamlObject.getAsInt("space", 0)
override val align: LayoutAlign = yamlObject["align"]?.asString().toLayoutAlign()
override val lineAlign: LayoutAlign = yamlObject["line-align"]?.asString().toLayoutAlign()
override val color: TextColor = yamlObject["color"]?.asString()?.toTextColor() ?: NamedTextColor.WHITE
Expand Down

0 comments on commit b12acdb

Please sign in to comment.