Skip to content

Commit

Permalink
fix(legacy): fixed default text background scale (CCBlueX#4085)
Browse files Browse the repository at this point in the history
  • Loading branch information
EclipsesDev authored Oct 6, 2024
1 parent 939a98d commit e1d6b70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class Text(x: Double = 10.0, y: Double = 10.0, scale: Float = 1F, side: Side = S

private val roundedBackgroundRadius by FloatValue("RoundedBackGround-Radius", 3F, 0F..5F)

private var backgroundScale by FloatValue("Background-Scale", 1F, 1F..5F)
private var backgroundScale by FloatValue("Background-Scale", 2.5F, 2.5F..5F)

private var backgroundAlpha by IntegerValue("Background-Alpha", 0, 0..255)
private val backgroundRed by IntegerValue("Background-Red", 0, 0..255) { backgroundAlpha > 0 }
Expand Down

0 comments on commit e1d6b70

Please sign in to comment.