Skip to content

Commit

Permalink
Fix system locks on remove measures
Browse files Browse the repository at this point in the history
  • Loading branch information
niklas-simon authored and cbjeukendrup committed Mar 9, 2025
1 parent f32615b commit 97a5888
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/framework/shortcuts/internal/midiremote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ bool MidiRemote::needIgnoreEvent(const Event& event) const
Event::Opcode::NoteOff
};

bool release = releaseOps.contains(event.opcode());
bool release = releaseOps.contains(event.opcode())
|| (event.opcode() == Event::Opcode::ControlChange && event.data() == 0);

if (release) {
bool advanceToNextNoteOnKeyRelease = configuration()->advanceToNextNoteOnKeyRelease();
if (!advanceToNextNoteOnKeyRelease) {
Expand Down

0 comments on commit 97a5888

Please sign in to comment.