Misc · Time: Lap turns Reset, laps and tickers tested
The stopwatch's second button reads Lap while running and Reset once paused, on one focus handle, and Reset hands focus to Start, so no press leaves focus stranded. Lap rows carry selectors; tests hold their order and times, count the tickers' wakes, and a WorldClock without places fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6918370b08
commit
977ba4c335
4 files changed
+127
-42
No files matched your search
@@ -64,7 +64,7 @@ fn clocks(cx: &App) -> impl IntoElement + use<> {
|
||||
fn stopwatch(cx: &App) -> impl IntoElement + use<> {
|
||||
section(
|
||||
"Stopwatch",
|
||||
"Time that runs while started and holds while paused, in tenths; Lap marks the time so far, Reset clears it once paused.",
|
||||
"Time that runs while started and holds while paused, in tenths. Lap marks the time so far; once paused, it reads Reset and clears it.",
|
||||
cx,
|
||||
)
|
||||
.child(probe("stopwatch-start", div().w(px(320.0)).child(Stopwatch::new("stopwatch"))))
|
||||
|
||||
Reference in new issue
Block a user