enable curveFitting & bump roughjs (#373)
This commit is contained in:
parent
657014466c
commit
42968ef44d
6
package-lock.json
generated
6
package-lock.json
generated
@ -12833,9 +12833,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"roughjs": {
|
"roughjs": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.0.4.tgz",
|
||||||
"integrity": "sha512-bXqNB7R9f7Zg3D4x8Cgz4KCnP2FJJCEvOPgsrg3FSlq6tOFm3aTAC+Lb9z64m0tOGW4Lq3hzAp0UMpB4Dq4mhw=="
|
"integrity": "sha512-rXmMGcALUlYIFKBbn9aWuxznPKOtnx9bouVC407/uneUNx0mT/4Mo2Z4TUieoCOT+rWmHnOQqVT1FvoN+L3baA=="
|
||||||
},
|
},
|
||||||
"rsvp": {
|
"rsvp": {
|
||||||
"version": "4.8.5",
|
"version": "4.8.5",
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
"react": "16.12.0",
|
"react": "16.12.0",
|
||||||
"react-dom": "16.12.0",
|
"react-dom": "16.12.0",
|
||||||
"react-scripts": "3.3.0",
|
"react-scripts": "3.3.0",
|
||||||
"roughjs": "4.0.3"
|
"roughjs": "^4.0.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^24.0.25",
|
"@types/jest": "^24.0.25",
|
||||||
|
@ -85,7 +85,8 @@ export function renderElement(
|
|||||||
fillStyle: element.fillStyle,
|
fillStyle: element.fillStyle,
|
||||||
strokeWidth: element.strokeWidth,
|
strokeWidth: element.strokeWidth,
|
||||||
roughness: element.roughness,
|
roughness: element.roughness,
|
||||||
seed: element.seed
|
seed: element.seed,
|
||||||
|
curveFitting: 1
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user