Misc · Numbers: a result goes on whole; long readings wrap

A calculator result stays in the sum as `a`, handed to evaluate with
its whole value, so 1 ÷ 3 = × 3 = gives 1; sign turns it and delete
takes it. Equals waits on a dangling operator. The converter's reading
wraps in its box rather than ending in an ellipsis, and tests hold
Control, the = key, a point after a result and the six digits.
This commit is contained in:
ZacharyZhang-NY committed 2026-09-28 01:06:32 -04:00
1 parent 73f3399cea
commit 5e7fc24db9
5 files changed
+126 -68

No files matched your search

+9 -1
View File
@@ -27,6 +27,11 @@ pub const PAGE: Page = Page {
Step::Shot("calculator-typed"),
Step::Key("enter"),
Step::Shot("calculator-result"),
Step::DownAt("converter", 24.0, 60.0),
Step::UpAt("converter", 24.0, 60.0),
Step::Key("cmd-a"),
Step::Type("1000000000000000"),
Step::Shot("converter-long"),
],
};
@@ -96,5 +101,8 @@ fn converter(cx: &App) -> impl IntoElement + use<> {
"An amount read in another unit: length, area, volume, mass, temperature, speed and data, with a swap.",
cx,
)
.child(div().w(px(280.0)).child(UnitConverter::new("unit-converter")))
.child(probe(
"converter",
div().w(px(280.0)).child(UnitConverter::new("unit-converter")),
))
}