tldraw/packages
Mitja Bezenšek bc24c0cc15
Fix the problem with text not being correctly aligned in small geo shapes. (#2168)
Seems like the `HTMLContainer` didn't have the correct size, so text
label was positioned a bit further up than it should be.

Fixes [#2156](https://github.com/tldraw/tldraw/issues/2156)

### 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. Create a small geo shape
2. Add some text to it. Test it with text that wraps to new lines.
3. Make sure text is centred.


### Release Notes

- Fixes position of Text labels in geo shapes.
2023-11-07 13:52:19 +00:00
..
assets bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
editor Zooming improvement (#2149) 2023-11-07 13:51:28 +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 the problem with text not being correctly aligned in small geo shapes. (#2168) 2023-11-07 13:52:19 +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