Files
vectorcraft/crates/engine
dotCooCoo f7ec5d50cc Selection: a click inside an unfilled shape starts a marquee again
#9807 made the Selection, Direct Selection and Group Selection tools,
Object Highlighting and a right-click's selection pick a closed path
with no fill by a click inside it (#9175). That is now an option:
Preferences > Selection & Anchor Display > Select Inside Unfilled
Shapes (`selectInsideUnfilledShapes`), off by default. With it off, a
click or drag inside an unfilled shape that hits nothing else there
starts a marquee, as it did before #9807. With it on, the tools behave
as #9807 made them. Object Selection by Path Only still turns the
inside off either way.

Tests that asserted the #9807 default now turn the preference on before
expecting the inside to select the shape, and also check that it
selects nothing by default: the MCP test (renamed to
a_click_inside_an_unfilled_shape_selects_it_only_with_the_preference),
the outside-stroke reach test and the Direct Selection center point
test. A new Selection tool test checks that a drag inside an unfilled
rectangle makes a marquee and leaves it in place by default, and moves
it with the preference on.
2026-12-03 10:56:46 -08:00
..