tldraw/packages
Prince Mendiratta 135af4533a
fix: proper label for opacity tooltip on hover (#2044)
Describe what your pull request does. If appropriate, add GIFs or images
showing the before and after.
There was a bug where hovering over the slider for opacity didn't
resolve the tooltip properly, due to accessing object property
incorrectly. This PR fixes this bug. The bug's reproduction video has
been attached below.

Thank you for this project, grateful!

<details>
<summary>Bug Reproduction Video</summary>


https://github.com/tldraw/tldraw/assets/54077356/f313fe1e-6d83-43f7-b101-2818719649bd

</details>

### 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. Open the app.
2. Hover above the opacity slider.
3. Ensure that the opacity value is shown properly.

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

### Release Notes

- Add a brief release note for your PR here.

Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
2023-10-10 13:03:12 +00:00
..
assets Update CHANGELOG.md [skip ci] 2023-10-06 15:18:15 +00:00
editor Fix newlines in text geo shapes (#2059) 2023-10-10 12:58:28 +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: proper label for opacity tooltip on hover (#2044) 2023-10-10 13:03:12 +00:00
tlschema Remove fixup script (#2041) 2023-10-09 10:23:01 +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