Make the default animation duration a bit shorter, 800 is quite ok on this machine (with some tearing, an ATI driver problem apparently. But it's still quite smooth.

svn path=/trunk/KDE/kdebase/workspace/; revision=803468
This commit is contained in:
Sebastian Kügler 2008-05-03 00:09:46 +00:00
parent a49ddd0c38
commit 6e09b1ac64

View file

@ -51,9 +51,9 @@ MakeTransparentEffect::MakeTransparentEffect()
}
active = effects->activeWindow();
moveresize_timeline.setCurveShape( TimeLine::EaseOutCurve );
moveresize_timeline.setDuration( conf.readEntry( "Duration", 1000 ) );
moveresize_timeline.setDuration( conf.readEntry( "Duration", 800 ) );
activeinactive_timeline.setCurveShape( TimeLine::EaseInOutCurve );
activeinactive_timeline.setDuration( conf.readEntry( "Duration", 1000 ) );
activeinactive_timeline.setDuration( conf.readEntry( "Duration", 800 ) );
}
void MakeTransparentEffect::prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int time )