From d4f6380652d750d8f6a1d8b12353ba610ff5d559 Mon Sep 17 00:00:00 2001 From: dimtpap Date: Thu, 2 May 2024 13:42:09 +0300 Subject: [PATCH] ui/profiler: Fix formatting --- src/ui/profiler.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ui/profiler.rs b/src/ui/profiler.rs index fff3542..e48740a 100644 --- a/src/ui/profiler.rs +++ b/src/ui/profiler.rs @@ -779,13 +779,13 @@ impl Profiler { ui.label("Xruns"); ui.end_row(); - draw_node_block(&p.driver, &p.clock, &p.info, true, driver.global.upgrade().as_ref(), ui, sx); - ui.end_row(); + draw_node_block(&p.driver, &p.clock, &p.info, true, driver.global.upgrade().as_ref(), ui, sx); + ui.end_row(); - for (client, nb) in driver.clients().filter_map(|c| c.last_profiling().map(|p| (c.global.upgrade(), p))) { - draw_node_block(nb, &p.clock, &p.info, false, client.as_ref(), ui, sx); - ui.end_row(); - } + for (client, nb) in driver.clients().filter_map(|c| c.last_profiling().map(|p| (c.global.upgrade(), p))) { + draw_node_block(nb, &p.clock, &p.info, false, client.as_ref(), ui, sx); + ui.end_row(); + } }); }); }); @@ -793,9 +793,9 @@ impl Profiler { egui::CollapsingHeader::new("Chart").id_source(id).show(ui, |ui| { draw_chart(driver, ui); }); - + ui.separator(); - + keep } else { true