disabled the playback of the selected note while navigating up/down on a tab staff when the note input mode is on

This commit is contained in:
Roman Pudashkin 2022-06-09 18:03:10 +02:00
parent 21503ad746
commit 4eb55a5cf4

View file

@ -864,6 +864,7 @@ void NotationActionController::move(MoveDirection direction, bool quickly)
} else if (interaction->noteInput()->isNoteInputMode()
&& interaction->noteInput()->state().staffGroup == mu::engraving::StaffGroup::TAB) {
interaction->moveSelection(direction, MoveSelectionType::String);
return;
} else {
interaction->movePitch(direction, quickly ? PitchMode::OCTAVE : PitchMode::CHROMATIC);
}