PianoRoll: allow shift-right-click in addition to middle-click in vol/pan bars

This commit is contained in:
Vesa
2014-05-03 23:52:24 +03:00
parent b18d80e0b5
commit d66d5870fd

View File

@@ -2247,7 +2247,8 @@ void PianoRoll::mouseMoveEvent( QMouseEvent * _me )
}
}
else if( ( edit_note == true || m_action == ActionChangeNoteProperty ) &&
( _me->buttons() & Qt::LeftButton || _me->buttons() & Qt::MiddleButton ) )
( _me->buttons() & Qt::LeftButton || _me->buttons() & Qt::MiddleButton
|| ( _me->buttons() & Qt::RightButton && _me->modifiers() & Qt::ShiftModifier ) ) )
{
// editing note properties