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
re_ui
crate to encapsulate our own egui theme
#476
Conversation
@@ -18,6 +18,17 @@ version = "0.1.7" | |||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||
checksum = "330223a1aecc308757b9926e9391c9b47f8ef2dbd8aea9df88312aea18c5e8d6" | |||
|
|||
[[package]] | |||
name = "accesskit" |
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.
It's a bit weird that Cargo pulls this in even though we don't enable the accesskit
features of egui
and eframe
🤔
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.
oh my! this is super nice, great refactor even without the fact that this allows faster design iteration!
Fairly trusting on the moved code, didn't go through everything again. Callsite patching up seemed straight forward to me.
fn main() { | ||
let native_options = eframe::NativeOptions { | ||
initial_window_size: Some([1200.0, 800.0].into()), | ||
follow_system_theme: false, |
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.
so we're looked to dark theme in this sample? Why do we distinguish in a few places then?
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.
We are using dark theme everywhere for now. We had light theme support at the start, and I didn't see any reason to remove that support, since we will perhaps want to add it again in the future.
Part of #400
Checklist
CHANGELOG.md
(if this is a big enough change to warrant it)