mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
#10726: the tests' selection is made on the current document
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
This commit is contained in:
1 file changed
+2
@@ -272,6 +272,8 @@ fn set_work_path(app: &mut PhotocraftApp, subpaths: Vec<photocraft_doc::vector::
|
||||
fn select_anchor(app: &mut PhotocraftApp, target: crate::direct_select::PathRef, anchor: [usize; 2]) {
|
||||
app.ui.direct_selection.target = Some(target);
|
||||
app.ui.direct_selection.anchors = vec![anchor];
|
||||
// Made now, on this document: not a stale selection the next press drops.
|
||||
app.ui.direct_selection.owner = crate::direct_select::Owner::current(app);
|
||||
}
|
||||
|
||||
/// CodeRabbit on #10744: two open subpaths end on the same point, and the Curvature Pen carries on
|
||||
|
||||
Reference in new issue
Block a user