mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-17 00:47:12 +00:00
WIP objdiff 3.0 refactor
This commit is contained in:
@@ -61,14 +61,9 @@ impl FrameHistory {
|
||||
);
|
||||
egui::warn_if_debug_build(ui);
|
||||
|
||||
if !cfg!(target_arch = "wasm32") {
|
||||
egui::CollapsingHeader::new("📊 CPU usage history").default_open(false).show(
|
||||
ui,
|
||||
|ui| {
|
||||
self.graph(ui);
|
||||
},
|
||||
);
|
||||
}
|
||||
egui::CollapsingHeader::new("📊 CPU usage history").default_open(false).show(ui, |ui| {
|
||||
self.graph(ui);
|
||||
});
|
||||
}
|
||||
|
||||
fn graph(&mut self, ui: &mut egui::Ui) -> egui::Response {
|
||||
|
||||
Reference in New Issue
Block a user