[Fix] Note shape border radius (#2696)

This PR fixes a border radius on the note shape.

Before
<img width="382" alt="image"
src="https://github.com/tldraw/tldraw/assets/23072548/5cb95dbd-c935-4f1f-901c-eca294836c96">

After
<img width="436" alt="image"
src="https://github.com/tldraw/tldraw/assets/23072548/0cce7ccf-2f7b-40dd-a27c-08c251cb4715">


### Change Type

- [x] `patch` — Bug fix

### Release Notes

- Fixes a bad border radius
This commit is contained in:
Steve Ruiz 2024-01-31 14:04:24 +00:00 committed by GitHub
parent cbc0649047
commit d31fecd3d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,7 @@ export class NoteShapeUtil extends ShapeUtil<TLNoteShape> {
indicator(shape: TLNoteShape) { indicator(shape: TLNoteShape) {
return ( return (
<rect <rect
rx="7" rx="6"
width={toDomPrecision(NOTE_SIZE)} width={toDomPrecision(NOTE_SIZE)}
height={toDomPrecision(this.getHeight(shape))} height={toDomPrecision(this.getHeight(shape))}
/> />