Skip to content

Commit 730a419

Browse files
committed
Update docs
1 parent bab7c38 commit 730a419

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/egui/src/memory.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 [`Self::dark_style()`] and [`Self::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)