mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-13 08:15:08 +00:00
fix(ui/status): round down current charges in noChargesThreshold message
- Updated `noChargesThreshold` status message to use `Math.floor(current)` instead of raw `current`. - Ensures displayed charge count is always an integer in the Status block. Benefits: - Prevents confusing non-integer values in the UI. - Improves readability and consistency of charge status display.
This commit is contained in:
1 parent
a5fc3469ca
commit
df2e553d8f
1 file changed
+1
-1
+1
-1
@@ -6490,7 +6490,7 @@
|
||||
'warning',
|
||||
{
|
||||
threshold,
|
||||
current,
|
||||
current: Math.floor(current),
|
||||
time: timeText,
|
||||
},
|
||||
true
|
||||
|
||||
Reference in new issue
Block a user