Skip to content
Permalink
Browse files

Fix some actions that moved from Common to Editor.

  • Loading branch information...
BenLoftis committed May 13, 2019
1 parent 8ae4fe1 commit 3e7e89db8f3b9eb57a1f123c247a3a9b49edc165
Showing with 5 additions and 5 deletions.
  1. +3 −3 libs/surfaces/mackie/mcp_buttons.cc
  2. +2 −2 libs/surfaces/us2400/mcp_buttons.cc
@@ -567,7 +567,7 @@ LedState
MackieControlProtocol::loop_press (Button &)
{
if (main_modifier_state() & MODIFIER_SHIFT) {
access_action ("Common/set-loop-from-edit-range");
access_action ("Editor/set-loop-from-edit-range");
return off;
} else {
bool was_on = session->get_play_loop();
@@ -887,7 +887,7 @@ MackieControlProtocol::clearsolo_press (Mackie::Button&)
// clears all solos and listens (pfl/afl)

if (main_modifier_state() & MODIFIER_SHIFT) {
access_action ("Common/set-session-from-edit-range");
access_action ("Editor/set-session-from-edit-range");
return none;
}

@@ -1096,7 +1096,7 @@ Mackie::LedState
MackieControlProtocol::click_press (Mackie::Button&)
{
if (main_modifier_state() & MODIFIER_SHIFT) {
access_action ("Common/set-punch-from-edit-range");
access_action ("Editor/set-punch-from-edit-range");
return off;
} else {
bool state = !Config->get_clicking();
@@ -568,7 +568,7 @@ LedState
US2400Protocol::loop_press (Button &)
{
if (main_modifier_state() & MODIFIER_SHIFT) {
access_action ("Common/set-loop-from-edit-range");
access_action ("Editor/set-loop-from-edit-range");
return off;
} else {
bool was_on = session->get_play_loop();
@@ -1100,7 +1100,7 @@ US2400::LedState
US2400Protocol::click_press (US2400::Button&)
{
if (main_modifier_state() & MODIFIER_SHIFT) {
access_action ("Common/set-punch-from-edit-range");
access_action ("Editor/set-punch-from-edit-range");
return off;
} else {
bool state = !Config->get_clicking();

0 comments on commit 3e7e89d

Please sign in to comment.
You can’t perform that action at this time.