Update renderElement.ts
This commit is contained in:
parent
a82ce8ce5a
commit
0604542cfb
@ -1364,9 +1364,7 @@ export function getFreeDrawSvgPath(element: ExcalidrawFreeDrawElement) {
|
||||
if (element.customData?.strokeOptions?.options) {
|
||||
options.simulatePressure =
|
||||
options.simulatePressure ?? element.simulatePressure;
|
||||
options.size = options.size
|
||||
? (options.size * element.strokeWidth) / 4
|
||||
: element.strokeWidth * 4.25;
|
||||
options.size = element.strokeWidth * 4.25; //override size with stroke width
|
||||
options.last = !!element.lastCommittedPoint;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user