13
0

Mackie protocol: clear Marker modifer

This commit is contained in:
Ben Loftis 2016-01-31 22:28:13 -06:00
parent 8821569f4a
commit c69514afe9

View File

@ -426,6 +426,8 @@ MackieControlProtocol::marker_press (Button &)
LedState
MackieControlProtocol::marker_release (Button &)
{
_modifier_state &= ~MODIFIER_MARKER;
if (marker_modifier_consumed_by_button) {
/* marker was used a modifier for some other button(s), so do
nothing
@ -435,8 +437,6 @@ MackieControlProtocol::marker_release (Button &)
string markername;
_modifier_state &= ~MODIFIER_MARKER;
/* Don't add another mark if one exists within 1/100th of a second of
* the current position and we're not rolling.
*/