diff --git a/crates/ui-egui/src/input_tests.rs b/crates/ui-egui/src/input_tests.rs index 09bca121d5..a90b585216 100644 --- a/crates/ui-egui/src/input_tests.rs +++ b/crates/ui-egui/src/input_tests.rs @@ -634,7 +634,8 @@ fn move_alt_copy_cursor_follows_the_latched_duplication_drag() { h.run_steps(2); h.event(egui::Event::ModifiersChanged(Modifiers::NONE)); h.run_steps(2); - assert_eq!(h.output().platform_output.cursor_icon, egui::CursorIcon::Copy, "releasing Alt does not undo an active copy"); + // The drag itself shows the hollow arrowhead of a drag of the active layer, ⌥ or not (#18160). + assert_eq!(requested(&h), Some(craft::behavior::Cursor::Painted(craft::behavior::PaintedCursor::arrow(true))), "the drag's arrowhead"); h.event(egui::Event::PointerButton { pos: end, button: egui::PointerButton::Primary, pressed: false, modifiers: Modifiers::NONE }); h.run_steps(2); assert_eq!(requested(&h), move_cursor, "back to the Move cursor");