Skip to content

Commit

Permalink
fix: do not lock shape creation
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 authored and tiensonqin committed Dec 6, 2022
1 parent 6ee380e commit e74d9d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tldraw/packages/core/src/lib/TLBaseLineBindingState.ts
Expand Up @@ -216,6 +216,7 @@ export class TLBaseLineBindingState<
if (this.currentShape) {
this.app.setSelectedShapes([this.currentShape])
}
this.app.transition('select')
this.app.persist()
}

Expand Down
Expand Up @@ -88,6 +88,7 @@ export class CreatingState<
if (this.creatingShape) {
this.app.setSelectedShapes([this.creatingShape as unknown as S])
}
this.app.transition('select')
this.app.persist()
}

Expand Down

0 comments on commit e74d9d3

Please sign in to comment.