Removing debug statements

This commit is contained in:
Jonathan Johnson 2023-11-10 15:55:23 -08:00
parent 06ae120df2
commit e471cb0ea5
No known key found for this signature in database
GPG key ID: A66D6A34D6620579
2 changed files with 1 additions and 5 deletions

View file

@ -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),

View file

@ -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