From 88e3a188035c73d5c8bb07f2a960fea370e5ebbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Fri, 6 Sep 2024 13:52:03 +0200 Subject: [PATCH] Update doc comment --- crates/egui/src/memory/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/egui/src/memory/mod.rs b/crates/egui/src/memory/mod.rs index 6c12e8abaa4..519a16ba69e 100644 --- a/crates/egui/src/memory/mod.rs +++ b/crates/egui/src/memory/mod.rs @@ -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,