mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
In the :line-to branch of calculate-extremities, move-p (the subpath start point) was being added to the extremities set instead of from-p (the actual previous point). For all line segments beyond the first one in a subpath this produced an incorrect bounding-box start point. The :curve-to branch correctly used from-p; align :line-to to match. Signed-off-by: Andrey Antukh <niwi@niwi.nz>