tldraw/packages
David Sheldrick f118430afe
Fix shape opacity when erasing (#2055)
Closes #2051 

This was another bug related to the usage of parent-scope `let`
assignments to avoid stack allocations in a hot code path, so I switched
to `const`s and local `let`s which we really should have done last week.
I think the compiler should be able to optimize this well enough.

### Change Type

- [x] `patch` — Bug fix
- [ ] `minor` — New feature
- [ ] `major` — Breaking change
- [ ] `dependencies` — Changes to package dependencies[^1]
- [ ] `documentation` — Changes to the documentation only[^2]
- [ ] `tests` — Changes to any test code only[^2]
- [ ] `internal` — Any other changes that don't affect the published
package[^2]
- [ ] I don't know

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- Fixes opacity of shapes while erasing in a group or frame.
2023-10-10 15:58:18 +00:00
..
assets Update CHANGELOG.md [skip ci] 2023-10-06 15:18:15 +00:00
editor Fix shape opacity when erasing (#2055) 2023-10-10 15:58:18 +00:00
state Publish api.json (#2034) 2023-10-08 15:00:58 +00:00
store Publish api.json (#2034) 2023-10-08 15:00:58 +00:00
tldraw [fix] Hit testing against zero width / height lines (#2060) 2023-10-10 15:58:02 +00:00
tlschema [fix] broken docs link (#2062) 2023-10-10 13:23:49 +00:00
utils Publish api.json (#2034) 2023-10-08 15:00:58 +00:00
validate Publish api.json (#2034) 2023-10-08 15:00:58 +00:00