mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-30 19:00:12 +02:00
Only animate when visible
This commit is contained in:
@@ -123,7 +123,7 @@ Breadcrumb::updateButtons( const QModelIndex& updateFrom )
|
||||
btn->show();
|
||||
|
||||
// Animate all buttons except the first
|
||||
if ( m_buttons.count() > 0 )
|
||||
if ( m_buttons.count() > 0 && isVisible() )
|
||||
{
|
||||
QPropertyAnimation* animation = new QPropertyAnimation( btn, "pos" );
|
||||
animation->setDuration( 300 );
|
||||
|
Reference in New Issue
Block a user