diff --git a/src/main.rs b/src/main.rs index 1d5db85..ff12042 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,7 +9,7 @@ fn main() { options, Box::new(|_ctx| { // ctx.egui_ctx.options().screen_reader = true; - Box::new(Gui::default()) + Box::::default() }), ); } @@ -41,7 +41,7 @@ impl eframe::App for Gui { } }); if ui.button(format!("Edit mode {}", self.edit_mode)).clicked() { - self.edit_mode = !self.edit_mode.clone(); + self.edit_mode = !self.edit_mode; } }); });