From 6e09b1ac64fc50b703554284b9860510f184395d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Sat, 3 May 2008 00:09:46 +0000 Subject: [PATCH] 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 --- effects/maketransparent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/effects/maketransparent.cpp b/effects/maketransparent.cpp index cd1f23892c..8fb9b388d2 100644 --- a/effects/maketransparent.cpp +++ b/effects/maketransparent.cpp @@ -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 )