mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 19:11:26 +00:00
A flare whose transform had a determinant under 1e-12, for example one scaled to 0.00001%, lost its handles and shape.editFlare answered "select a flare", although the transform can be undone. The flare's parts are now compared with its settings for any finite transform that can be inverted. A part's gradient ellipse was compared as squared lengths, so at a small scale, or for a narrow gradient, an edited shape could fall within the tolerance and be redrawn over. The ellipse is now compared as the length of its longer half-axis, which a pixel-aligned part may move by up to a pixel, and its shape: the ratio of its axes and its orientation, which are compared without that allowance.