From c69514afe95531a09e1eb9f6e14af9c5a6b57950 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sun, 31 Jan 2016 22:28:13 -0600 Subject: Mackie protocol: clear Marker modifer --- libs/surfaces/mackie/mcp_buttons.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/surfaces/mackie/mcp_buttons.cc b/libs/surfaces/mackie/mcp_buttons.cc index b24a53f537..c1cd673931 100644 --- a/libs/surfaces/mackie/mcp_buttons.cc +++ b/libs/surfaces/mackie/mcp_buttons.cc @@ -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. */ -- cgit v1.2.3