fade plasmoids too, but at double speed
svn path=/trunk/KDE/kdebase/workspace/; revision=1188163
This commit is contained in:
parent
1871c2fee8
commit
e5044f2fb5
1 changed files with 13 additions and 0 deletions
|
@ -84,6 +84,19 @@ void DashboardEffect::paintWindow( EffectWindow* w, int mask, QRegion region, Wi
|
|||
data.saturation *= (1 - (saturationDelta * timeline.value()));
|
||||
}
|
||||
|
||||
else if( transformWindow && ( w == window ) && w->isManaged() )
|
||||
{
|
||||
// transform dashboard
|
||||
if ((timeline.value() * 2) <= 1)
|
||||
{
|
||||
data.opacity *= timeline.value() * 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
data.opacity *= 1;
|
||||
}
|
||||
}
|
||||
|
||||
effects->paintWindow( w, mask, region, data );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue