mirror of
https://github.com/LMMS/lmms.git
synced 2026-01-28 16:23:12 -05:00
@@ -1334,13 +1334,9 @@ void AutomationEditor::paintEvent(QPaintEvent * pe )
|
||||
|
||||
float nextValue;
|
||||
if ( m_pattern->valuesAfter( ( it + 1 ).key() ) != NULL )
|
||||
{
|
||||
nextValue = *( m_pattern->valuesAfter( ( it + 1 ).key() ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
nextValue = values[ ( it + 1 ).key() - it.key() -1 ];
|
||||
}
|
||||
|
||||
p.setRenderHints( QPainter::Antialiasing, true );
|
||||
QPainterPath path;
|
||||
|
||||
Reference in New Issue
Block a user