Don't change opacity of windows during slide animation.
BUG: 177731 svn path=/trunk/KDE/kdebase/workspace/; revision=896703
This commit is contained in:
parent
6ff3a4134b
commit
9942e6ff0d
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue