Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Merge branch 'direct-select-anchor-points' into properties-anchor-points

moppeeer250825e5b78f
diff --cc crates/tools/src/select.rs
index a7b282d4a,76a81d8f2..99b45a0ee
--- a/crates/tools/src/select.rs
+++ b/crates/tools/src/select.rs
@@@ -820,12 -822,8 +824,8 @@@ impl Tool for SelectionTool
points = vec![me];
}
if points != cx.selection.anchors {
- out.push(Action::Exec("selection.set".into(), anchor_selection(cx, &points)));
+ out.push(Action::Exec("selection.set".into(), anchor_selection(cx, &points, ev.mods.shift)));
}
- if ev.mods.shift && was {
- self.drag = Drag::None;
- return out;
- }
others = points.iter().filter(|a| **a != me).map(|(i, s, a)| (i.0, *s, *a)).collect();
}
let label = if handle.is_some() {