Update egui

This commit is contained in:
2026-03-29 12:27:23 -04:00
parent 2414489ef2
commit 391702b3f3
18 changed files with 356 additions and 285 deletions
+3 -3
View File
@@ -96,10 +96,10 @@ impl AppWindow for ProfileWindow {
.with_inner_size((300.0, 200.0))
}
fn show(&mut self, ctx: &egui::Context) {
fn show(&mut self, ui: &mut egui::Ui) {
let status = self.profiler.status();
let recording = matches!(status, ProfilerStatus::Recording);
CentralPanel::default().show(ctx, |ui| {
CentralPanel::default().show_inside(ui, |ui| {
ui.horizontal_wrapped(|ui| {
ui.spacing_mut().item_spacing.x = 0.0;
ui.add(
@@ -164,7 +164,7 @@ impl AppWindow for ProfileWindow {
_ => {}
}
});
self.toasts.show(ctx);
self.toasts.show(ui);
}
fn on_init(&mut self, args: InitArgs) {