mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
improvement to last loop button commit for MCP
This commit is contained in:
parent
f55ebf26bd
commit
88dae1c766
1 changed files with 2 additions and 0 deletions
|
|
@ -568,7 +568,9 @@ MackieControlProtocol::loop_press (Button &)
|
|||
access_action ("Common/set-loop-from-edit-range");
|
||||
return off;
|
||||
} else {
|
||||
bool was_on = session->get_play_loop();
|
||||
loop_toggle ();
|
||||
return was_on ? off : on;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue