in erase-mode do not remove values without clicking
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1737 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -907,7 +907,9 @@ void automationEditor::mouseMoveEvent( QMouseEvent * _me )
|
||||
|
||||
}
|
||||
else if( ( _me->buttons() & Qt::RightButton &&
|
||||
m_editMode == DRAW ) || m_editMode == ERASE )
|
||||
m_editMode == DRAW ) ||
|
||||
( _me->buttons() & Qt::LeftButton &&
|
||||
m_editMode == ERASE ) )
|
||||
{
|
||||
m_pattern->removeValue( midiTime( pos_ticks ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user