mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 04:52:54 -05:00
When a press with the Selection, Direct Selection or Group Selection tool hits no object, `selected_hidden_at` looks for a selected object whose art a clipping mask hides under the pointer. It worked out how a click reaches each selected object (`path_options`, which searches every parent's children for the next node) before checking whether any mask hides it, and then discarded the result for every object no mask hides. It now checks the mask first and works out the click path only for masked art. With 3,000 selected squares and no clip, a press beside them made 3,000 `path_options` calls and now makes none. The objects found are unchanged.