Skip to content

Commit

Permalink
Update app.rs (#118)
Browse files Browse the repository at this point in the history
seems there is no TopPanel but TopBottomPanel
  • Loading branch information
AlexanderARodin authored Dec 29, 2023
1 parent 92448f2 commit c78e339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl eframe::App for TemplateApp {

/// Called each time the UI needs repainting, which may be many times per second.
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
// Put your widgets into a `SidePanel`, `TopPanel`, `CentralPanel`, `Window` or `Area`.
// Put your widgets into a `SidePanel`, `TopBottomPanel`, `CentralPanel`, `Window` or `Area`.
// For inspiration and more examples, go to https://emilk.github.io/egui

egui::TopBottomPanel::top("top_panel").show(ctx, |ui| {
Expand Down

0 comments on commit c78e339

Please sign in to comment.