Set app to render every frame

This commit is contained in:
Lucas Schumacher 2024-05-06 17:06:05 -04:00
parent 636f67c6de
commit 5cecec3f70

View File

@ -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: