Allow selection of entities directly in the plot space view#4959
Conversation
571c37e to
230798e
Compare
|
Fyi: Bar charts aren't clickable |
|
Let's fix that as well, should be easy now! |
230798e to
1afc771
Compare
|
done! now also works with bar charts. Thanks for checking on it @nikolausWest :) Now based on egui |
| egui_plot = { git = "https://github.com/emilk/egui.git", rev = "ab39420c2933d2e402999043375b64e7cf0ee9ed" } # egui master 2024-01-29 | ||
| egui-wgpu = { git = "https://github.com/emilk/egui.git", rev = "ab39420c2933d2e402999043375b64e7cf0ee9ed" } # egui master 2024-01-29 | ||
| emath = { git = "https://github.com/emilk/egui.git", rev = "ab39420c2933d2e402999043375b64e7cf0ee9ed" } # egui master 2024-01-29 | ||
| ecolor = { git = "https://github.com/emilk/egui.git", rev = "ca513ce241c6511275e92b05b2953c38fa6086e1" } # egui Ids on plot items. 2024-01-30 |
There was a problem hiding this comment.
ah this used to just say the branch name. Eh whatever, not gonna torture ci with this again now when it's about to be changed again 😄
|
I wish egui_plot would highlight a line when you hover it though - the lines don't feel clickable now, even though they are |
|
I noticed that when you hover on a thing in the legend it actually highlights by boosting the size 🤔 |
What
Wires up the new plot item ids to our hover/selection mechanism.
Moved a utility method from item_ui to ViewerContext since I didn't want to take a dependency on
re_data_uihere (and this method had a todo about being in the wrong spot anyways 😄 )more.clicking.mov
DRAFT: Uses unpublished egui version!
Checklist
mainbuild: app.rerun.ionightlybuild: app.rerun.io