Skip to content

Commit 8809473

Browse files
committed
Update docs
1 parent 00ff728 commit 8809473

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/egui/src/memory/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ pub struct Options {
175175
/// The default style for new [`Ui`](crate::Ui):s in light mode.
176176
pub(crate) light_style: std::sync::Arc<Style>,
177177

178-
/// Whether to update the visuals according to the system theme or not.
178+
/// A preference for how to select between [`crate::Context::dark_style()`] and [`crate::Context::light_style()`]
179+
/// as the active style used by all subsequent windows, panels etc.
179180
///
180181
/// Default: `ThemePreference::System`.
181182
pub theme_preference: ThemePreference,

0 commit comments

Comments
 (0)