mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
Reflect by two clicks passes its drag to solve as a SolveDrag
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
46019f6c17
commit
e53a643c86
1 file changed
+1
-1
@@ -453,7 +453,7 @@ impl Tool for TransformTool {
|
||||
}
|
||||
self.drop_axis();
|
||||
let copy = ev.mods.alt;
|
||||
let (m, _, _) = self.solve(d.angle_for(copy, ev.backquote), first, first, d.pick, false, d.bounds);
|
||||
let (m, _, _) = self.solve(d.angle_for(copy, ev.backquote), first, SolveDrag { start: first, p: d.pick, moved: d.pick - first, shift: false, bounds: d.bounds });
|
||||
vec![Action::Begin(self.kind.label().into()), preview(m, copy, ev.backquote), Action::Commit]
|
||||
} else {
|
||||
// A click sets the reference point; with Alt, it opens the dialog too. With the
|
||||
|
||||
Reference in new issue
Block a user