Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the selection/hover behavior for plots (#5096)
### What - Resolves: #5090 Several changes to plots: - When resetting the plot, don't trigger a selection. Previously if an item ended up under the cursor **after** the reset, it would end up selected. - Additionally, when hovering/clicking the background of the plot, process hover/selection accordingly. ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using newly built examples: [app.rerun.io](https://app.rerun.io/pr/5096/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/5096/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [app.rerun.io](https://app.rerun.io/pr/5096/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/5096) - [Docs preview](https://rerun.io/preview/fa4f6d378ee0bde0a4de2b6caa3866b763145b0c/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/fa4f6d378ee0bde0a4de2b6caa3866b763145b0c/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
- Loading branch information