3f90fbf5b0
This PR fixes the bounds calculation for polygons. It solves the bug reported here: https://github.com/tldraw/tldraw/issues/2309 . Note that this may produce visual changes for hexagons and other shapes. ![Kapture 2023-12-24 at 10 35 13](https://github.com/tldraw/tldraw/assets/23072548/773e89ee-f8c3-4875-b942-30860b1cdf22) ### Change Type - [x] `patch` — Bug fix ### Test Plan 1. Create a hexagon shape with a label. 2. The label should be correctly centered. ### Release Notes - Fixed a bug with the bounds calculation for polygons. |
||
---|---|---|
.. | ||
assets | ||
editor | ||
state | ||
store | ||
tldraw | ||
tlschema | ||
utils | ||
validate |