tldraw/packages
Orange Mug 00d4648ef5
Use strokePathData for <ShapeFill/> path to avoid bugs in the inner path algo (#1207)
This avoids some bug with fills in the new inky path algo. This is a
temp fix as it reuses the outer path, but it's fairly broken at the
moment so probably a good hotfix.

Before (notice the background fill busting the bounds of the shape) 

<img width="575" alt="Screenshot 2023-04-27 at 16 54 53"
src="https://user-images.githubusercontent.com/235915/234921462-3f2d81a4-f209-427e-ba33-bfc6b919bba9.png">

After

<img width="575" alt="Screenshot 2023-04-27 at 16 55 24"
src="https://user-images.githubusercontent.com/235915/234921460-7f36ab3e-ec97-4c4a-8634-868bf8eec791.png">

This isn't perfect because we're filling it with this double fill shape,
which I assume has perf issues.

<img width="1058" alt="Screenshot 2023-04-27 at 17 08 28"
src="https://user-images.githubusercontent.com/235915/234921788-f400bac0-fd2c-469a-beec-3e0a0d2f309d.png">

---------

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2023-04-29 22:58:18 +00:00
..
assets derived presence state (#1204) 2023-04-27 18:03:19 +00:00
editor Use strokePathData for <ShapeFill/> path to avoid bugs in the inner path algo (#1207) 2023-04-29 22:58:18 +00:00
file-format [lite] upgrade lazyrepo (#1198) 2023-04-25 14:32:17 +01:00
polyfills [lite] upgrade lazyrepo (#1198) 2023-04-25 14:32:17 +01:00
primitives Use strokePathData for <ShapeFill/> path to avoid bugs in the inner path algo (#1207) 2023-04-29 22:58:18 +00:00
tldraw derived presence state (#1204) 2023-04-27 18:03:19 +00:00
tlschema derived presence state (#1204) 2023-04-27 18:03:19 +00:00
tlstore derived presence state (#1204) 2023-04-27 18:03:19 +00:00
tlsync-client [lite] upgrade lazyrepo (#1198) 2023-04-25 14:32:17 +01:00
tlvalidate [lite] upgrade lazyrepo (#1198) 2023-04-25 14:32:17 +01:00
ui Added pHYs to import/export of png images (#1200) 2023-04-29 22:10:01 +00:00
utils derived presence state (#1204) 2023-04-27 18:03:19 +00:00