More readable text shadow

This commit is contained in:
DBotThePony 2022-09-04 16:21:20 +07:00
parent ae8a9296f7
commit de90c2e3da
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -18,8 +18,8 @@ open class Label @JvmOverloads constructor(
) : EditablePanel(screen, parent, x, y, width, height) {
constructor(screen: MatteryScreen<*>, parent: EditablePanel?, text: Component, shadow: Boolean = false) : this(screen, parent, x = 0f, text = text, shadow = shadow)
var shadowX = 1f
var shadowY = 1f
var shadowX = 0.75f
var shadowY = 0.75f
var shadowColor = RGBAColor.BLACK
init {