mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-28 03:37:00 -06:00
`shift_drag_snaps_a_stop_to_the_nearest_tick` landed while this branch was out and asserts the tick an inch ruler used to carry: "the ticks are a tenth of an inch (7.2 pt) apart", snapping 100 pt to 100.8. That tenth is what this change removes -- an inch ruler divides the inch in half, not in ten. The nearest tick to 100 pt is now 99 pt: 1 3/8 in, an eighth of an inch from 1 1/4. The test says so, and also asserts the result is a binary fraction of an inch rather than a particular number, so it holds if the ladder is retuned.