mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 02:44:24 +01:00
sides_after adds the drag steps with saturating arithmetic, so a drag to an extreme coordinate gives 3 or 11 sides instead of an overflow. A drag whose distance is too long to measure keeps its direction and also stops at 3 or 11, and a pointer position that is not finite leaves the count and the readout as they were.