double click in the note edit area to clear selected notes (allowing you to edit note velocities/panning for all notes)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1928 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1556,6 +1556,24 @@ void pianoRoll::mousePressEvent( QMouseEvent * _me )
|
||||
|
||||
|
||||
|
||||
void pianoRoll::mouseDoubleClickEvent( QMouseEvent * _me )
|
||||
{
|
||||
if( validPattern() == false )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// if they clicked in the note edit area, clear selection
|
||||
if( _me->x() > noteEditLeft() && _me->x() < noteEditRight()
|
||||
&& _me->y() > noteEditTop() && _me->y() < noteEditBottom() )
|
||||
{
|
||||
clearSelectedNotes();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void pianoRoll::testPlayNote( note * n )
|
||||
{
|
||||
m_lastKey = n->key();
|
||||
|
||||
Reference in New Issue
Block a user