mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
Format the Reflect solve call
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
e53a643c86
commit
494635f932
1 file changed
+5
-1
@@ -453,7 +453,11 @@ impl Tool for TransformTool {
|
||||
}
|
||||
self.drop_axis();
|
||||
let copy = ev.mods.alt;
|
||||
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 });
|
||||
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