Fix warnings and remove dbg!
This commit is contained in:
parent
ca5db9cc8e
commit
52bbc6c083
3 changed files with 1 additions and 3 deletions
|
|
@ -185,7 +185,7 @@ impl App {
|
|||
fn workspaces_for_output<'a>(
|
||||
&'a self,
|
||||
output: &'a wl_output::WlOutput,
|
||||
) -> impl Iterator<Item = &Workspace> + 'a {
|
||||
) -> impl Iterator<Item = &'a Workspace> + 'a {
|
||||
self.workspaces
|
||||
.iter()
|
||||
.filter(|w| w.outputs.contains(output))
|
||||
|
|
|
|||
|
|
@ -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