panels-w2: review fixes (review-3)

This commit is contained in:
aiongg
2026-11-14 17:56:00 +00:00
parent 80f8719cd4
commit 9d845436fa
+3 -1
View File
@@ -164,7 +164,9 @@ fn a_click_command_cycles_and_a_hold_lists_the_tools_without_firing_it() {
dragged.fixture.drag_hold_at(target.center(), away);
dragged.fixture.idle(2);
assert!(!dragged.fixture.by_role(Role::MENU).is_empty(), "a drag away lists the tools");
dragged.fixture.release_at(target.center() + away).idle(2);
// Released on the button itself, not over a flyout row: a row release picks that row's tool by design, which
// the drag trial above covers.
dragged.fixture.release_at(target.center()).idle(2);
assert_eq!(fired(&dragged), 0, "the release of a drag fires nothing");
let mut context = build(false, Some(EditCommands::Paste));