Don't change opacity of windows during slide animation.

BUG: 177731

svn path=/trunk/KDE/kdebase/workspace/; revision=896703
This commit is contained in:
Martin Gräßlin 2008-12-14 09:47:09 +00:00
parent 6ff3a4134b
commit 9942e6ff0d

View file

@ -1163,6 +1163,8 @@ void CubeEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowP
{
//kDebug(1212) << w->caption();
float opacity = cubeOpacity;
if( slide )
opacity = 1.0f;
if( start )
{
opacity = 1.0 - (1.0 - opacity)*timeLine.value();