mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Mackie Protocol: more fixes for aac6a5
This commit is contained in:
parent
8f7ae26a96
commit
ff14f4d63c
1 changed files with 3 additions and 3 deletions
|
|
@ -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&)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue