Skip persisting style for now (so everyone gets the new default style)

This commit is contained in:
Emil Ernerfeldt 2021-01-17 14:19:47 +01:00
parent b869db728b
commit 9dba63fa3f
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ pub struct Memory {
#[cfg_attr(feature = "persistence", serde(default))]
pub(crate) struct Options {
/// The default style for new `Ui`:s.
#[cfg_attr(feature = "persistence", serde(skip))]
pub(crate) style: std::sync::Arc<Style>,
/// Controls the tessellator.
pub(crate) tessellation_options: crate::paint::TessellationOptions,