mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Should make animation a little smoother.
This commit is contained in:
@@ -85,11 +85,17 @@ QueueView::hideQueue()
|
|||||||
void
|
void
|
||||||
QueueView::onAnimationStep( int frame )
|
QueueView::onAnimationStep( int frame )
|
||||||
{
|
{
|
||||||
|
setUpdatesEnabled( false );
|
||||||
|
m_queue->setUpdatesEnabled( false );
|
||||||
|
|
||||||
setMinimumHeight( frame + 25 );
|
setMinimumHeight( frame + 25 );
|
||||||
setMaximumHeight( frame + 25 );
|
setMaximumHeight( frame + 25 );
|
||||||
m_queue->setMaximumHeight( frame );
|
|
||||||
|
|
||||||
|
m_queue->setMaximumHeight( frame );
|
||||||
m_queue->resize( m_queue->width(), frame );
|
m_queue->resize( m_queue->width(), frame );
|
||||||
|
|
||||||
|
m_queue->setUpdatesEnabled( true );
|
||||||
|
setUpdatesEnabled( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user