diff options
Diffstat (limited to 'src/layout/opening_window.rs')
| -rw-r--r-- | src/layout/opening_window.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/layout/opening_window.rs b/src/layout/opening_window.rs index 7e24b4cb..8a1db409 100644 --- a/src/layout/opening_window.rs +++ b/src/layout/opening_window.rs @@ -54,6 +54,7 @@ impl OpenAnimation { geo_size: Size<f64, Logical>, location: Point<f64, Logical>, scale: Scale<f64>, + alpha: f32, ) -> anyhow::Result<OpeningWindowRenderElement> { let progress = self.anim.value(); let clamped_progress = self.anim.clamped_value().clamp(0., 1.); @@ -102,7 +103,7 @@ impl OpenAnimation { area.size, None, scale.x as f32, - 1., + alpha, vec