Commit 49d80162 authored by David Edmundson's avatar David Edmundson
Browse files

[effects/blend] Fix opacity value of old window

We animated from 1.0 to 0.0, however this does not take into account
that a previous effect may also have adjusted the opacity.

We should multiply accordingly.
parent 3b269360
Pipeline #214702 failed with stage
in 11 minutes and 58 seconds
......@@ -76,7 +76,7 @@ void BlendChanges::apply(EffectWindow *window, int mask, WindowPaintData &data,
data.setOpacity(1.0 - m_timeline.value());
data.setOpacity((1.0 - m_timeline.value()) * data.opacity());
bool BlendChanges::isActive() const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment