diff --git a/src/app.rs b/src/app.rs index ff0459d..da56295 100644 --- a/src/app.rs +++ b/src/app.rs @@ -356,12 +356,6 @@ impl UsageApp { active.into_iter().take(40).collect() }; - let max_write = rows - .iter() - .map(|p| p.write_bps) - .fold(0.0_f64, f64::max) - .max(1.0); - for (i, p) in rows.iter().enumerate() { let zebra = if i % 2 == 0 { th.palette.view_bg @@ -388,19 +382,6 @@ impl UsageApp { ); }); }); - - // Subtle bar under write rate column area - let frac = (p.write_bps / max_write) as f32; - if frac > 0.01 { - let bar_h = 2.0; - let bar_w = rect.width() * frac.clamp(0.0, 1.0); - let bar_rect = egui::Rect::from_min_size( - egui::pos2(rect.left(), rect.bottom() - bar_h), - egui::vec2(bar_w, bar_h), - ); - ui.painter() - .rect_filled(bar_rect, 0.0, th.palette.accent.gamma_multiply(0.7)); - } } }); }