Tldraw/packages
Steve Ruiz 0d0d38361d
Don't hover locked shapes (#3575)
This PR:
- updates `getHoveredId` to `getHoveredShapeId`
- adds an option to ignore locked shapes to `Editor.getShapeAtPoint`.

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `improvement` — Improving existing features

### Test Plan

1. Put two shapes on top of eachother
2. Lock the top shape
3. Hover the shape
4. The bottom shape should be hovered
5. Right click
6. The top shape should be selected 

- [x] Unit tests

### Release Notes

- Fixed a bug with locked shapes being hoverable.
2024-04-27 17:30:24 +00:00
..
assets
dotcom-shared
editor Don't hover locked shapes (#3575) 2024-04-27 17:30:24 +00:00
namespaced-tldraw
state
store
tldraw Don't hover locked shapes (#3575) 2024-04-27 17:30:24 +00:00
tlschema
tlsync
utils
validate