fix: format hour display on Loop End screen to avoid floating-point precision errors
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m22s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m22s
- Use formatHour() instead of raw {hour} to display time in HH:MM format
(e.g. '15:00' instead of '14.999999999999998')
- Export formatHour from stores barrel index
- Fixes #336
This commit is contained in:
@@ -32,6 +32,7 @@ export type { GameCoordinatorStore } from './gameStore';
|
||||
export {
|
||||
fmt,
|
||||
fmtDec,
|
||||
formatHour,
|
||||
getFloorMaxHP,
|
||||
getFloorElement,
|
||||
getFloorElements,
|
||||
|
||||
Reference in New Issue
Block a user