diff --git a/src/widgets/stack.rs b/src/widgets/stack.rs index ba39154..7f38052 100644 --- a/src/widgets/stack.rs +++ b/src/widgets/stack.rs @@ -454,8 +454,6 @@ impl Layout { self.other = self.other.max(measured); } - println!("Total height: {offset}"); - self.other = match other_constraint { ConstraintLimit::Known(max) => self.other.max(max), ConstraintLimit::ClippedAfter(clip_limit) => self.other.min(clip_limit), diff --git a/src/window.rs b/src/window.rs index 3cbdaca..4128090 100644 --- a/src/window.rs +++ b/src/window.rs @@ -594,9 +594,7 @@ where } fn composite_alpha_mode(&self, supported_modes: &[CompositeAlphaMode]) -> CompositeAlphaMode { - if dbg!(self.transparent) - && dbg!(supported_modes).contains(&CompositeAlphaMode::PreMultiplied) - { + if self.transparent && supported_modes.contains(&CompositeAlphaMode::PreMultiplied) { CompositeAlphaMode::PreMultiplied } else { CompositeAlphaMode::Auto