Skip to content

Commit

Permalink
Update doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Sep 6, 2024
1 parent 52d4994 commit 88e3a18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/egui/src/memory/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ pub struct Options {
/// Default: [`crate::Theme::Dark`].
pub fallback_theme: Theme,

/// Used to detect changes in system theme
/// The current system theme, used to choose between
/// dark and light style in case [`Self::theme_preference`] is [`ThemePreference::System`].
#[cfg_attr(feature = "serde", serde(skip))]
pub(crate) system_theme: Option<Theme>,

Expand Down

0 comments on commit 88e3a18

Please sign in to comment.