Fix warnings and remove dbg!

This commit is contained in:
Ian Douglas Scott 2025-02-10 12:04:20 -08:00
parent ca5db9cc8e
commit 52bbc6c083
3 changed files with 1 additions and 3 deletions

View file

@ -65,7 +65,6 @@ impl<Msg> Widget<Msg, cosmic::Theme, cosmic::Renderer> for Toplevels<'_, Msg> {
.zip(tree.children.iter_mut())
.zip(assigned_rects)
.map(|((child, tree), assigned_rect)| {
dbg!(assigned_rect);
let child_limits = layout::Limits::new(Size::ZERO, assigned_rect.size());
let layout = child.as_widget().layout(tree, renderer, &child_limits);