diff --git a/src/app.rs b/src/app.rs index b59a3b2..7303c59 100644 --- a/src/app.rs +++ b/src/app.rs @@ -55,6 +55,8 @@ impl eframe::App for TemplateApp { // Put your widgets into a `SidePanel`, `TopBottomPanel`, `CentralPanel`, `Window` or `Area`. // For inspiration and more examples, go to https://emilk.github.io/egui + ctx.request_repaint(); + egui::TopBottomPanel::top("top_panel").show(ctx, |ui| { // The top panel is often a good place for a menu bar: