Skip to content

Commit

Permalink
ui/profiler: Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dimtpap committed May 2, 2024
1 parent 483bd48 commit d4f6380
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/ui/profiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -779,23 +779,23 @@ 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();
}
});
});
});

egui::CollapsingHeader::new("Chart").id_source(id).show(ui, |ui| {
draw_chart(driver, ui);
});

ui.separator();

keep
} else {
true
Expand Down

0 comments on commit d4f6380

Please sign in to comment.