Makes the animation working again. I have no idea why the animation was broken.

svn path=/trunk/KDE/kdebase/workspace/; revision=826359
remotes/origin/Plasma/5.0
Martin Gräßlin 18 years ago
parent 50d9cd1be0
commit 281ccd2206
  1. 2
      effects/flipswitch.cpp

@ -64,7 +64,7 @@ void FlipSwitchEffect::prePaintScreen( ScreenPrePaintData& data, int time )
if( mActivated || stopRequested || stop )
{
data.mask |= Effect::PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS;
if( mAnimation )
if( mAnimation && ( start || stop || animateFlip ) )
timeLine.addTime( (double)time );
}
effects->prePaintScreen(data, time);

Loading…
Cancel
Save