Amend previous commit - latch toggles only while rolling

This commit is contained in:
Robin Gareus 2019-11-13 22:14:19 +01:00
parent dbd327e692
commit 4c9da04584
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ AutomationControl::stop_touch (double when)
if (alist()->automation_state() == Latch && _session.transport_rolling ()) {
return;
}
if (alist()->automation_state() == Touch && _desc.toggled) {
if (alist()->automation_state() == Touch && _session.transport_rolling () && _desc.toggled) {
/* Toggle buttons always latch */
return;
}