-
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
Configurable background color for 3D Space Views #5443
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.
Yay!
ui.end_row(); | ||
} | ||
|
||
fn background_color_text(kind: Background3DKind) -> &'static str { |
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.
This would be better as impl Display for Background3DKind
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.
enum already implement Display and I didn't want to change codegen just now
crates/re_types/definitions/rerun/blueprint/components/background_3d_kind.fbs
Outdated
Show resolved
Hide resolved
crates/re_types/definitions/rerun/blueprint/components/background_3d_kind.fbs
Outdated
Show resolved
Hide resolved
Size changes
|
What
Originally made a sort of tint/alpha color for the existing gradient, but after some feedback I got I changed it around to be a dropdown of 3 different modes: dark gradient, bright gradient, solid color (with the picker)
The blend version was quite confusing and admittedly not all that useful :)
colorpicker2.mp4
Checklist
main
build: app.rerun.ionightly
build: app.rerun.io