Skip to content

Commit

Permalink
Removing debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ecton committed Nov 10, 2023
1 parent 06ae120 commit e471cb0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions src/widgets/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
4 changes: 1 addition & 3 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e471cb0

Please sign in to comment.