Check the Selection move pointer over source art and document the centre-point modifier

This commit is contained in:
Codex committed 2026-11-30 15:26:38 +01:00
1 parent 99a5b6cdc4
commit 98026915ab
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ fn shift_click_direct_selection_and_hover_on_a_drop_shadow_pass_through_it() {
run(&mut s, "select.set", json!({"ids": [a.0]}));
let v = ViewInfo::default();
s.select_tool("selection", v).unwrap();
assert_eq!(s.cursor(Point::new(50.0, 50.0), Mods::default(), v), Cursor::Move);
assert_eq!(s.cursor(Point::new(50.0, 50.0), Mods::default(), v), Cursor::SelectionMove);
assert_eq!(s.cursor(Point::new(110.0, 50.0), Mods::default(), v), Cursor::Arrow);
assert_eq!(s.cursor(Point::new(92.0, 50.0), Mods::default(), v), Cursor::Arrow);
}
+1 -1
View File
@@ -133,7 +133,7 @@ look = "Arrow with a small x badge (nothing to select)."
id = "SelectionMove"
group = "Selection"
shown_when = [
"The Selection tool over a selected object, its movable source artwork, or its visible centre point.",
"The Selection tool over a selected object or its movable source artwork, or over its visible centre point without Cmd/Ctrl held.",
"The Selection tool over artwork while Alt is held, before the copy drag begins.",
]
hotspot = "The arrow's tip."