Fix "negative infinity only" case not being correctly handled in history chart rendering in tooltips

This commit is contained in:
DBotThePony 2024-10-04 17:14:31 +07:00
parent a43521c579
commit 5bc104b04d
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -374,7 +374,7 @@ private fun formatHistoryChart(
labels = ChartLevelLabels(
labels = mapOf(
0.5f to Decimal.ZERO.formatSiComponent(suffix, decimals, formatAsReadable = verbose, bias = bias),
0.9f to TextComponent("-∞"),
0.1f to TextComponent("-∞"),
)
)
} else {