From e471cb0ea5bf72c26dbfa659f5b1a1d65821fc8c Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Fri, 10 Nov 2023 15:55:23 -0800 Subject: [PATCH] Removing debug statements --- src/widgets/stack.rs | 2 -- src/window.rs | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) 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