Remove unnused value

main
~erin 2023-04-28 20:32:11 -04:00
parent 0d83071fd8
commit 5004b71b84
Signed by: erin
GPG Key ID: 9A8E308CEFA37A47
1 changed files with 1 additions and 6 deletions

View File

@ -14,12 +14,9 @@ pub struct PlannerApp {
// Example stuff:
label: String,
// this how you opt-out of serialization of a member
#[serde(skip)]
value: f32,
#[serde(skip)]
update_view: bool,
view_layers: Vec<structure::Layer>,
new_index: usize,
new_label: String,
@ -32,7 +29,6 @@ impl Default for PlannerApp {
Self {
// Example stuff:
label: "Helllllo World!".to_owned(),
value: 5.5,
view_layers: vec![],
update_view: true,
new_index: 0,
@ -69,7 +65,6 @@ impl eframe::App for PlannerApp {
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
let Self {
label,
value,
view_layers,
update_view,
new_index,