tldraw/packages
Steve Ruiz 7fe43bb2ef
remove state checks for brush and zoom brush (#1717)
This PR removes the strict state checks for the brush and zoom brush. We
should consider making the canvas more controlled by what exists (e.g.
whether a `brush` exists) rather than depending on particular statechart
states.

### Change Type

- [x] `minor`

### Test Plan

1. Create a brush manually in the API.
2. The brush should be visible on the canvas.

### Release Notes

- [editor] remove `editor.isIn` state checks for displaying brush and
zoom brush.
2023-07-07 09:38:16 +00:00
..
assets Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00
editor remove state checks for brush and zoom brush (#1717) 2023-07-07 09:38:16 +00:00
file-format Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00
indices Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00
polyfills Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00
primitives Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00
state Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00
store Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00
tldraw Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00
tlschema Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00
ui Fix tsdocs for TldrawUi component (#1707) 2023-07-04 15:24:11 +00:00
utils Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00
validate Update CHANGELOG.md [skip ci] 2023-07-04 14:21:37 +00:00