FaderPort8: Don't lock shift, when using shift + encoder

This commit is contained in:
Robin Gareus 2020-02-12 20:31:10 +01:00
parent 4f90bd6298
commit c321bc82bb
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -607,6 +607,11 @@ FaderPort8::controller_handler (MIDI::Parser &, MIDI::EventTwoBytes* tb)
#else
encoder_parameter (tb->value & dir_mask ? true : false, tb->value & step_mask);
#endif
/* if Shift key is held while turning Pan/Param, don't lock shift. */
if (_shift_pressed > 0 && !_shift_lock) {
_shift_connection.disconnect ();
_shift_lock = false;
}
}
}