diff --git a/src/lib.rs b/src/lib.rs index fd0cbe63f04820360dec697edc350b8b14cf4788..41813b68e49f9d7deecf2987642b83c34be94a8a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,12 +23,14 @@ impl eframe::App for ControlApp { // Set light theme so we don't have to mess with colors for plots ctx.set_visuals(egui::Visuals::light()); + /* Skip draw top panel egui::TopBottomPanel::top("app_selection_panel").show(ctx, |ui| { if self.top_bar(ui) { #[cfg(not(target_arch = "wasm32"))] // no quit on web pages! _frame.close(); } }); + */ egui::CentralPanel::default().show(ctx, |ui| { ui.centered_and_justified(|ui| {