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:
@@ -1,5 +1,8 @@
|
||||
2008-10-04 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* src/gui/automation_editor.cpp:
|
||||
in erase-mode do not remove values without clicking
|
||||
|
||||
* src/core/envelope_and_lfo_parameters.cpp:
|
||||
fixed what I broke a few hours ago.. (closes #2146864)
|
||||
|
||||
|
||||
@@ -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