mirror of
https://github.com/danbulant/cushy
synced 2026-07-06 03:30:38 +00:00
Removing debug statements
This commit is contained in:
parent
06ae120df2
commit
e471cb0ea5
2 changed files with 1 additions and 5 deletions
|
|
@ -454,8 +454,6 @@ impl Layout {
|
||||||
self.other = self.other.max(measured);
|
self.other = self.other.max(measured);
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("Total height: {offset}");
|
|
||||||
|
|
||||||
self.other = match other_constraint {
|
self.other = match other_constraint {
|
||||||
ConstraintLimit::Known(max) => self.other.max(max),
|
ConstraintLimit::Known(max) => self.other.max(max),
|
||||||
ConstraintLimit::ClippedAfter(clip_limit) => self.other.min(clip_limit),
|
ConstraintLimit::ClippedAfter(clip_limit) => self.other.min(clip_limit),
|
||||||
|
|
|
||||||
|
|
@ -594,9 +594,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
fn composite_alpha_mode(&self, supported_modes: &[CompositeAlphaMode]) -> CompositeAlphaMode {
|
fn composite_alpha_mode(&self, supported_modes: &[CompositeAlphaMode]) -> CompositeAlphaMode {
|
||||||
if dbg!(self.transparent)
|
if self.transparent && supported_modes.contains(&CompositeAlphaMode::PreMultiplied) {
|
||||||
&& dbg!(supported_modes).contains(&CompositeAlphaMode::PreMultiplied)
|
|
||||||
{
|
|
||||||
CompositeAlphaMode::PreMultiplied
|
CompositeAlphaMode::PreMultiplied
|
||||||
} else {
|
} else {
|
||||||
CompositeAlphaMode::Auto
|
CompositeAlphaMode::Auto
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue