More readable text shadow
This commit is contained in:
parent
ae8a9296f7
commit
de90c2e3da
@ -18,8 +18,8 @@ open class Label @JvmOverloads constructor(
|
|||||||
) : EditablePanel(screen, parent, x, y, width, height) {
|
) : 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)
|
constructor(screen: MatteryScreen<*>, parent: EditablePanel?, text: Component, shadow: Boolean = false) : this(screen, parent, x = 0f, text = text, shadow = shadow)
|
||||||
|
|
||||||
var shadowX = 1f
|
var shadowX = 0.75f
|
||||||
var shadowY = 1f
|
var shadowY = 0.75f
|
||||||
var shadowColor = RGBAColor.BLACK
|
var shadowColor = RGBAColor.BLACK
|
||||||
|
|
||||||
init {
|
init {
|
||||||
|
Loading…
Reference in New Issue
Block a user