Grey out muted patterns in the BB editor

This commit is contained in:
Umcaruje
2016-03-18 23:51:03 +01:00
parent 9a44eaf3c7
commit 23cd3002a6

View File

@@ -1147,6 +1147,14 @@ void PatternView::paintEvent( QPaintEvent * )
p.drawPixmap( x, y, stepoff );
}
} // end for loop
// draw a transparent rectangle over muted patterns
if ( muted )
{
p.setBrush( mutedBackgroundColor() );
p.setOpacity( 0.3 );
p.drawRect( 0, 0, width(), height() );
}
}
// bar lines