mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Update renderElement.ts
This commit is contained in:
parent
a82ce8ce5a
commit
0604542cfb
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue