Fix solid style draw shape. (#3963)
This PR fixes the way that solid-style heart shapes are drawn. <img width="630" alt="image" src="https://github.com/tldraw/tldraw/assets/23072548/fd9c2f85-7448-448f-b75b-9c84b17145da"> ### Change Type - [x] `sdk` — Changes the tldraw SDK - [x] `bugfix` — Bug fix ### Release Notes - Fixes the appearance of solid-style heart shapes.
This commit is contained in:
parent
487b1beb85
commit
4a791dff60
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ export function GeoShapeBody({ shape, shouldScale }: { shape: TLGeoShape; should
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 'heart': {
|
case 'heart': {
|
||||||
if (dash === 'dashed' || dash === 'dotted') {
|
if (dash === 'dashed' || dash === 'dotted' || dash === 'solid') {
|
||||||
const d = getHeartPath(w, h)
|
const d = getHeartPath(w, h)
|
||||||
const curves = getHeartParts(w, h)
|
const curves = getHeartParts(w, h)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue