Panics · P16 Finance: live market states, fine grids and lagging overlays draw or say why; system-zone times say UTC when unknown

This commit is contained in:
ZacharyZhang-NY committed 2026-10-06 20:09:15 -04:00
1 parent a6b1bb0929
commit f0b7f779f6
18 files changed
+504 -140

No files matched your search

+6 -1
View File
@@ -58,7 +58,12 @@ pub(crate) fn nice_step(span: f64, count: usize) -> f64 {
} else {
10.0
};
nice * power
let step = nice * power;
if step > 0.0 && step.is_finite() {
step
} else {
raw
}
}
/// A domain widened to round steps that hold `low..=high`, and the ticks along it.