1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

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

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,