diff --git a/effects/sheet/sheet.cpp b/effects/sheet/sheet.cpp index eea71981b6..fcf9e30ddf 100644 --- a/effects/sheet/sheet.cpp +++ b/effects/sheet/sheet.cpp @@ -51,7 +51,7 @@ void SheetEffect::reconfigure(ReconfigureFlags flags) // TODO: Rename AnimationTime config key to Duration. const int d = animationTime(SheetConfig::animationTime() != 0 ? SheetConfig::animationTime() - : 500); + : 300); m_duration = std::chrono::milliseconds(static_cast(d)); } @@ -113,6 +113,8 @@ void SheetEffect::paintWindow(EffectWindow *w, int mask, QRegion region, WindowP data *= QVector3D(1.0, t, t); data.translate(0.0, -interpolate(w->y() - (*animationIt).parentY, 0.0, t)); + data.multiplyOpacity(t); + effects->paintWindow(w, mask, region, data); }