-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow resetting view property components from gui for all generically implemented property ui #6417
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice, I like where this is going
05223ea
to
2525b4a
Compare
ui.close_menu(); | ||
} | ||
ui.add_enabled_ui(component_results.contains_non_empty(*component_name), |ui| { | ||
if ui.button("Reset to empty.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: we need a better name for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed, but don't know what to pick :/
What
See title :)
This allows to reset the value either to the default blueprint or - via context menu - to empty!
Screen.Recording.2024-05-23.at.17.09.04.mov
Future work:
Checklist
main
build: rerun.io/viewernightly
build: rerun.io/viewerTo run all checks from
main
, comment on the PR with@rerun-bot full-check
.