Fix warnings and remove dbg!
This commit is contained in:
parent
ca5db9cc8e
commit
52bbc6c083
3 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
use cosmic::iced::{advanced::layout::flex::Axis, Length};
|
||||
use std::marker::PhantomData;
|
||||
|
||||
use super::{
|
||||
axis_toplevel_layout::{AxisPoint, AxisRectangle, AxisSize, AxisToplevelLayout},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue