mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
typo
This commit is contained in:
@@ -431,7 +431,7 @@ object TerrarumPostProcessor : Disposable {
|
|||||||
val ptimew = 7*6 + 4f
|
val ptimew = 7*6 + 4f
|
||||||
val ptimestr = "$ptimeH:$ptimeM"
|
val ptimestr = "$ptimeH:$ptimeM"
|
||||||
|
|
||||||
val percIndex = (batteryPercentage.toFloat() * 0.01 * 64).toInt() // 0-63
|
val percIndex = (batteryPercentage.toFloat() * 0.01 * 63).toInt() // 0-63
|
||||||
val btx = percIndex % 4
|
val btx = percIndex % 4
|
||||||
val bty = percIndex / 4
|
val bty = percIndex / 4
|
||||||
val btxoff = isCharging.toInt() * 4
|
val btxoff = isCharging.toInt() * 4
|
||||||
|
|||||||
Reference in New Issue
Block a user