collaboration Drawing app
 
 
 
Go to file
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
.github lite: tweak lockfile name 2023-04-25 12:01:38 +01:00
.husky lite: standalone? 2023-04-25 12:01:38 +01:00
.yarn transfer-out: transfer out 2023-04-25 12:01:25 +01:00
apps Added `pHYs` to import/export of png images (#1200) 2023-04-29 22:10:01 +00:00
assets transfer-out: transfer out 2023-04-25 12:01:25 +01:00
config [lite] upgrade lazyrepo (#1198) 2023-04-25 14:32:17 +01:00
packages Use `strokePathData` for `<ShapeFill/>` path to avoid bugs in the inner path algo (#1207) 2023-04-29 22:58:18 +00:00
scripts derived presence state (#1204) 2023-04-27 18:03:19 +00:00
.eslintignore transfer-out: transfer out 2023-04-25 12:01:25 +01:00
.eslintplugin.js transfer-out: transfer out 2023-04-25 12:01:25 +01:00
.eslintrc.js transfer-out: transfer out 2023-04-25 12:01:25 +01:00
.gitignore Added `pHYs` to import/export of png images (#1200) 2023-04-29 22:10:01 +00:00
.prettierignore transfer-out: transfer out 2023-04-25 12:01:25 +01:00
.prettierrc transfer-out: transfer out 2023-04-25 12:01:25 +01:00
.yarnrc.yml lite: tweak lockfile name 2023-04-25 12:01:38 +01:00
CODE_OF_CONDUCT.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
CONTRIBUTING.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
LICENSE transfer-out: transfer out 2023-04-25 12:01:25 +01:00
README.md Alex/test (#1202) 2023-04-25 17:17:31 +01:00
lazy.config.ts derived presence state (#1204) 2023-04-27 18:03:19 +00:00
lerna.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
package.json derived presence state (#1204) 2023-04-27 18:03:19 +00:00
public-yarn.lock Added `pHYs` to import/export of png images (#1200) 2023-04-29 22:10:01 +00:00

README.md

tldraw-lite

test test

tldraw