Constrain dock rail icons above footer

This commit is contained in:
Dylan M. Taylor
2026-11-21 14:23:46 -05:00
parent fc4b1c7bb7
commit 739a4cdcc6
+1 -1
View File
@@ -1057,7 +1057,7 @@ impl<P: Clone + Eq + Hash + Debug + Send + Sync + 'static> Pass<'_, P> {
Stack::new().fill_width().show(ui, |ui, body| pass.borrow_mut().panels.rail_footer(panel, ui, body));
})
.show_at(ui, cell, |ui, _| {
let (rect, _) = ui.allocate_exact_size(Vec2::new(ui.available_width(), height), egui::Sense::hover());
let (rect, _) = ui.allocate_exact_size(Vec2::new(ui.available_width(), height.min(ui.available_height())), egui::Sense::hover());
draw(ui, rect, open.clone())
})
.inner