4af92421b3
This improves how zooming works when we zoom in an inactive window. With this change you should zoom towards the pointer position, while before it zoomed towards the last known pointer position before the window became inactive. Fixes #2165 Before https://github.com/tldraw/tldraw/assets/2523721/50018782-533a-43bb-88a5-21fc4419b723 After https://github.com/tldraw/tldraw/assets/2523721/c3859f84-ef56-4db8-96b9-50a2de060507 ### 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 tldraw editor. 2. Click away from the browser window so that it's not longer active. 3. Hover over the browser window and start zooming. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Improves zooming for inactive windows. |
||
---|---|---|
.. | ||
api.json |