mirror of
https://github.com/danbulant/cushy
synced 2026-06-19 06:21:15 +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);
|
||||
}
|
||||
|
||||
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),
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue