diff --git a/src/core/automation_pattern.cpp b/src/core/automation_pattern.cpp index 43ea7e50b4..a0c1383b62 100644 --- a/src/core/automation_pattern.cpp +++ b/src/core/automation_pattern.cpp @@ -625,8 +625,7 @@ void automationPatternView::paintEvent( QPaintEvent * ) const float max = m_pat->firstObject()->maxValue(); const float y_scale = max - min; - const float h = ( height()-2*TCO_BORDER_WIDTH ) / - y_scale; + const float h = ( height()-2*TCO_BORDER_WIDTH ) / y_scale; p.translate( 0.0f, max * height() / y_scale-1 ); p.scale( 1.0f, -h ); @@ -673,7 +672,7 @@ void automationPatternView::paintEvent( QPaintEvent * ) } else { - p.setPen( QColor( 32, 240, 32 ) ); + p.setPen( QColor( 0, 64, 255 ) ); } p.drawText( 2, p.fontMetrics().height() - 1, m_pat->name() );