From 0c31c732e84acc4083275157ca52b2c86ca86129 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Fri, 10 Dec 2021 16:07:33 +0000 Subject: [PATCH] Update test --- packages/tldraw/CHANGELOG.md | 5 +++++ .../src/state/sessions/BrushSession/BrushSession.spec.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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', () => {