This commit is contained in:
2026-03-02 17:28:23 +01:00
parent c15c037771
commit c3ff6294c8

View File

@@ -26,9 +26,16 @@ pub fn ordnance(ui: &mut Ui, data: &Res<Ordnance>, overview: &Res<super::Overvie
.size
.max(ui.spacing().interact_size.y);
let mut cols = Vec::new();
let mut amount_cols = 0;
for _ in &data.flights {
for group in &data.flights {
if group.len() > amount_cols {
amount_cols = group.len();
}
}
let mut cols = Vec::new();
for _ in 0..amount_cols {
cols.push(("", Column::remainder()));
}