From 4de3b2ee344dea080c258978d9180c6302eb7615 Mon Sep 17 00:00:00 2001 From: Albin Heimerson <albin.heimerson@control.lth.se> Date: Mon, 5 Jun 2023 09:08:32 +0200 Subject: [PATCH] comment out top bar --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index fd0cbe6..41813b6 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| { -- GitLab