File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -2501,18 +2501,17 @@ void PianoRoll::mouseMoveEvent( QMouseEvent * me )
25012501 {
25022502 updateKnifePos (me, false );
25032503 }
2504- if (m_editMode == EditMode::Detuning && (m_parameterEditDownLeft || m_parameterEditDownRight))
2504+ else if (m_editMode == EditMode::Detuning && (m_parameterEditDownLeft || m_parameterEditDownRight))
25052505 {
25062506 // Update the current dragging/adding/removal of automation nodes in the detuning curves of the selected notes.
25072507 updateParameterEditPos (me, Note::ParameterType::Detuning);
25082508 }
2509- // Update Strum position if we are on knife mode
2510- if (m_editMode == EditMode::Strum && m_strumEnabled)
2509+ // Update Strum position if we are in strum mode
2510+ else if (m_editMode == EditMode::Strum && m_strumEnabled)
25112511 {
25122512 updateStrumPos (me, false , me->modifiers () & Qt::ShiftModifier);
25132513 }
2514-
2515- if (pos.y () > PR_TOP_MARGIN || m_action != Action::None)
2514+ else if (pos.y () > PR_TOP_MARGIN || m_action != Action::None)
25162515 {
25172516 bool edit_note = (pos.y () > noteEditTop ())
25182517 && m_action != Action::SelectNotes;
You can’t perform that action at this time.
0 commit comments