mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-27 03:06:57 -06:00
In erase mode the tool tests each point for a line piece or an edge within the tolerance before the region under it. Every point of a region narrower than twice the tolerance is that close to its edges, so an Alt-click, the Alt hover and an Alt-drag over a thin overlap touched its edges and not the overlap, and the overlap was left behind. A point in a region now touches the region when the region is no more than twice the tolerance across there, measured from the nearest point of its outline through the point to the outline on the other side. This covers a drag at any angle, a drag that starts or ends in the region, and a thin shape inside another or on its own. Near an edge of a wider region, the edge is touched as before.