diff --git a/packages/tldraw/CHANGELOG.md b/packages/tldraw/CHANGELOG.md index e46c7d43f..a327acbe6 100644 --- a/packages/tldraw/CHANGELOG.md +++ b/packages/tldraw/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.2.5 + +- Triangles! +- Improves selection logic. + ## 1.2.4 - Fixes bug with `onPersist`. diff --git a/packages/tldraw/src/state/sessions/BrushSession/BrushSession.spec.ts b/packages/tldraw/src/state/sessions/BrushSession/BrushSession.spec.ts index b5b362f72..434be1b8a 100644 --- a/packages/tldraw/src/state/sessions/BrushSession/BrushSession.spec.ts +++ b/packages/tldraw/src/state/sessions/BrushSession/BrushSession.spec.ts @@ -11,7 +11,7 @@ describe('Brush session', () => { .movePointer([48, 48]) .completeSession() expect(app.status).toBe(TDStatus.Idle) - expect(app.selectedIds.length).toBe(2) + expect(app.selectedIds.length).toBe(1) }) it('selects multiple shapes', () => {