mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
With Object Selection by Path Only off (the default), the Selection, Direct Selection and Group Selection tools, Object Highlighting and a right-click's selection now pick a closed path or compound path that has no fill by a click inside its closed subpaths. Before, such a shape could only be picked on its path, and a click inside started a marquee. The inside counts only where no other object is hit: a click first looks for what paints at the point, the same as before, and only then for the topmost unfilled closed shape around it, so art drawn inside a frame is still picked before the frame. Select Behind lists those shapes after the objects that paint there, and Direct Selection in a dynamic symbol's art picks parts in the same order. Open paths, guides and clipping paths are still picked by their path only, and Outline view is unchanged. With Object Selection by Path Only on, the inside of an unfilled shape takes no click, as before. Three tests clicked inside an unfilled square and expected nothing to be selected: the Selection and Direct Selection center point tests and the outside-stroke reach test. They now run with Object Selection by Path Only on, and the Direct Selection and stroke reach tests also check that the click selects the square with it off. Fixes #9175