tldraw/packages
Taha a771b05bf2
[fix] Frame label not following staying aligned correctly on rotation (#2172)
closes #2157 
@ds300 fixed this

The Frame shape component now re-renders on rotation, ensuring that the
label position is always correct.

### 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. Make a frame shape
2. rotate it 90 degrees
before: it would stay where it was until the props of the shape changed
i.e on resize
now: it updates immediately

### Release Notes

- Frame labels immediately update their position on rotation.

---------

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2023-11-08 11:36:35 +00:00
..
assets bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
editor Fix crash with zero length arrow (#2173) 2023-11-07 15:53:16 +00:00
state bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
store bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
tldraw [fix] Frame label not following staying aligned correctly on rotation (#2172) 2023-11-08 11:36:35 +00:00
tlschema bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
utils bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
validate bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00