mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-31 17:42:13 +02:00
white out background behind fading
This commit is contained in:
@@ -300,7 +300,7 @@ DynamicView::paintEvent( QPaintEvent* event )
|
|||||||
bg.moveTo( m_fadingPointAnchor ); // cover up the background
|
bg.moveTo( m_fadingPointAnchor ); // cover up the background
|
||||||
if( m_fadebg ) {
|
if( m_fadebg ) {
|
||||||
p.save();
|
p.save();
|
||||||
|
p.fillRect( bg, Qt::white );
|
||||||
p.setOpacity( 1 - m_fadeOutAnim.currentValue() );
|
p.setOpacity( 1 - m_fadeOutAnim.currentValue() );
|
||||||
}
|
}
|
||||||
p.drawPixmap( bg, m_bg );
|
p.drawPixmap( bg, m_bg );
|
||||||
|
Reference in New Issue
Block a user