From 5cecec3f7086ab19cda57c5cc7a1d818ba919af6 Mon Sep 17 00:00:00 2001 From: Lucas Schumacher Date: Mon, 6 May 2024 17:06:05 -0400 Subject: [PATCH] Set app to render every frame --- src/app.rs | 2 ++ 1 file changed, 2 insertions(+) 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: