first move, then leave, when forcing dragLeave animation. This avoids glitch at shrinking active tab
svn path=/trunk/KDE/kdebase/workspace/; revision=1049359
This commit is contained in:
parent
51374ce5db
commit
592606b79c
1 changed files with 4 additions and 1 deletions
|
@ -1627,7 +1627,10 @@ namespace Oxygen
|
||||||
|
|
||||||
// do nothing if there is only one tab
|
// do nothing if there is only one tab
|
||||||
if( itemData_.count() > 1 )
|
if( itemData_.count() > 1 )
|
||||||
{ itemData_.animate( AnimationTypes( AnimationLeave|AnimationSameTarget ), sourceItem_ ); }
|
{
|
||||||
|
itemData_.animate( AnimationTypes( AnimationMove|AnimationSameTarget ), sourceItem_ );
|
||||||
|
itemData_.animate( AnimationTypes( AnimationLeave|AnimationSameTarget ), sourceItem_ );
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue