mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
build fix
This commit is contained in:
@@ -30,7 +30,7 @@ pub struct DemoEnvironment {
|
|||||||
#[cfg_attr(feature = "serde", serde(default))]
|
#[cfg_attr(feature = "serde", serde(default))]
|
||||||
struct Demos {
|
struct Demos {
|
||||||
/// open, view
|
/// open, view
|
||||||
#[serde(skip)] // TODO
|
#[cfg_attr(feature = "serde", serde(skip))] // TODO: serialize the `open` state.
|
||||||
demos: Vec<(bool, Box<dyn Demo>)>,
|
demos: Vec<(bool, Box<dyn Demo>)>,
|
||||||
}
|
}
|
||||||
impl Default for Demos {
|
impl Default for Demos {
|
||||||
|
|||||||
Reference in New Issue
Block a user