R6.13 round 3 fix: each wheel notch turns; drop the unused part()
release / macos (push) Failing after 1s
release / windows (push) Successful in 12m14s
release / linux (push) Successful in 9m30s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-15 20:43:11 -04:00
1 parent 407ce00ab9
commit aa419fdfc9
5 files changed
+29 -11

No files matched your search

+5
View File
@@ -46,6 +46,11 @@ fn the_wheel_and_up_down_turn_slides() {
let mut shown = VisualTestContext::from_window(window.into(), &cx);
shown.run_until_parked();
assert_eq!(current(&mut shown, &deck), 0);
wheel(&mut shown, -2.0);
assert_eq!(current(&mut shown, &deck), 2, "two notches in one event turn two");
wheel(&mut shown, 1.0);
wheel(&mut shown, 1.0);
assert_eq!(current(&mut shown, &deck), 0, "rapid notches each turn");
wheel(&mut shown, -1.0);
assert_eq!(current(&mut shown, &deck), 1, "the wheel turns down");
shown.update(|window, app| {