diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/gui/WBar.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/gui/WBar.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/gui/WBar.kt b/src/main/kotlin/moe/nea/firmament/gui/WBar.kt index 2c37d11..5772aac 100644 --- a/src/main/kotlin/moe/nea/firmament/gui/WBar.kt +++ b/src/main/kotlin/moe/nea/firmament/gui/WBar.kt @@ -16,9 +16,9 @@ import moe.nea.firmament.Firmament open class WBar( var progress: Double, - val total: Double, + var total: Double, val fillColor: Color, - val emptyColor: Color, + val emptyColor: Color = fillColor.darker(2.0), ) : WWidget() { companion object { val resource = Firmament.identifier("textures/gui/bar.png") |