For consistency, define text colour of bb-tracks in CSS too

This commit is contained in:
Vesa
2014-04-05 17:28:03 +03:00
parent 994dcd3964
commit e11c1cb8fc
2 changed files with 7 additions and 2 deletions

View File

@@ -499,7 +499,12 @@ SampleTCOView {
AutomationPatternView {
color: #99afff;
qproperty-fgColor: rgb( 204, 215, 255 );
qproperty-textColor: rgb( 255, 255, 255 );
qproperty-textColor: rgb( 255, 255, 255 );
}
/* bb-pattern */
bbTCOView {
qproperty-textColor: rgb( 255, 255, 255 );
}
/* Plugins */

View File

@@ -219,7 +219,7 @@ void bbTCOView::paintEvent( QPaintEvent * )
p.setPen( QColor( 0, 0, 0 ) );
p.drawText( 4, p.fontMetrics().height()+1, m_bbTCO->name() );
p.setPen( QColor( 255, 255, 255 ) );
p.setPen( textColor() );
p.drawText( 3, p.fontMetrics().height(), m_bbTCO->name() );
if( m_bbTCO->isMuted() )