mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
This commit is contained in:
commit
e07df7877f
1 file changed
+3
-1
@@ -2228,11 +2228,13 @@ mod tests {
|
||||
assert_eq!(overlay_shapes(&app, &ctx), 0, "{tool:?}: View > Show > Target Path off");
|
||||
app.ui.view.show.target_path = true;
|
||||
}
|
||||
// Path Selection adds its anchor squares (the outline plus three anchors, two shapes each).
|
||||
// Path Selection (and the Pen tools, as for the work path) add anchor squares.
|
||||
app.ui.tool = Tool::Move;
|
||||
let plain = overlay_shapes(&app, &ctx);
|
||||
app.ui.tool = Tool::PathSelection;
|
||||
assert!(overlay_shapes(&app, &ctx) > plain);
|
||||
app.ui.tool = Tool::Pen;
|
||||
assert!(overlay_shapes(&app, &ctx) > plain);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user