always enable 'smooth' transitions except for 'preview'. This allows to have smooth title bar text color transition even if everything (compositing, glow, separator, etc.) is disabled

svn path=/trunk/KDE/kdebase/workspace/; revision=1025845
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-09-19 21:11:28 +00:00
parent 8c6b8cde28
commit d581847b47
1 changed files with 1 additions and 4 deletions

View File

@ -157,10 +157,7 @@ namespace Oxygen
bool animateActiveChange( void ) const
{
if( isPreview() ) return false;
else return
(compositingActive() && !isMaximized() && configuration().useOxygenShadows()) ||
configuration().drawSeparator() ||
configuration().drawTitleOutline();
else return true;
}
//! calculate mask