1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

* Should make animation a little smoother.

This commit is contained in:
Christian Muehlhaeuser
2010-11-27 02:25:21 +01:00
parent 597c52f96d
commit 94efcb9f8e

View File

@@ -85,11 +85,17 @@ QueueView::hideQueue()
void
QueueView::onAnimationStep( int frame )
{
setUpdatesEnabled( false );
m_queue->setUpdatesEnabled( false );
setMinimumHeight( frame + 25 );
setMaximumHeight( frame + 25 );
m_queue->setMaximumHeight( frame );
m_queue->setMaximumHeight( frame );
m_queue->resize( m_queue->width(), frame );
m_queue->setUpdatesEnabled( true );
setUpdatesEnabled( true );
}