mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 18:25:34 +01:00
A hit test for the selection tools first walks the document without looking inside unfilled closed paths, and when that finds nothing it walked the whole document again to look inside them. With the pointer resting over empty pasteboard that doubled the hit walks on every frame. The first walk now notes whether an unfilled closed path holds the point, and the second walk runs only when one does. Select Behind (objects_at) and Direct Selection in a dynamic symbol's art (symbol_part_at) skip their second pass the same way. Hit tests that do not look inside unfilled paths measure no interiors.