13
0

Mackie Protocol: more fixes for aac6a5

This commit is contained in:
Ben Loftis 2016-02-04 11:44:23 -06:00
parent 8f7ae26a96
commit ff14f4d63c

View File

@ -362,7 +362,7 @@ MackieControlProtocol::drop_press (Button &)
{ {
if (main_modifier_state() == MODIFIER_SHIFT) { if (main_modifier_state() == MODIFIER_SHIFT) {
toggle_punch_in(); toggle_punch_in();
return session->config.get_punch_in() ? flashing : off; return none;
} else { } else {
access_action ("Editor/start-range-from-playhead"); access_action ("Editor/start-range-from-playhead");
} }
@ -1077,11 +1077,11 @@ MackieControlProtocol::replace_press (Mackie::Button&)
{ {
if (main_modifier_state() == MODIFIER_SHIFT) { if (main_modifier_state() == MODIFIER_SHIFT) {
toggle_punch_out(); toggle_punch_out();
return session->config.get_punch_out() ? flashing : off; return none;
} else { } else {
access_action ("Editor/finish-range-from-playhead"); access_action ("Editor/finish-range-from-playhead");
} }
return off; return none;
} }
Mackie::LedState Mackie::LedState
MackieControlProtocol::replace_release (Mackie::Button&) MackieControlProtocol::replace_release (Mackie::Button&)