mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
The Print Tiling tool's press and print.tiling.set without `artboard` decided which artboard a point is on with Rect::contains, which leaves out the right and bottom edges. A press exactly on an artboard's right or bottom edge picked no artboard when no other artboard holds that point, so the drag did not snap to that artboard's edges. An origin there was measured from the first printed artboard: with artboards at 0 to 300 pt and 300 to 600 pt, an origin on the second one's right edge was saved as x 600 instead of 300. Both now count the edges as Document::art_on_artboard does, within a millionth of a point.