Skip to content

Commit

Permalink
Skip serialization of light style
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Sep 11, 2024
1 parent 88e3a18 commit 1666ec0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/egui/src/memory/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ pub struct Options {
pub(crate) dark_style: std::sync::Arc<Style>,

/// The default style for new [`Ui`](crate::Ui):s in light mode.
#[cfg_attr(feature = "serde", serde(skip))]
pub(crate) light_style: std::sync::Arc<Style>,

/// A preference for how to select between dark and light [`crate::Context::style`]
Expand Down

0 comments on commit 1666ec0

Please sign in to comment.