From 4c9da045841ad8ee529ab222cc3fffd5b85edda6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 13 Nov 2019 22:14:19 +0100 Subject: Amend previous commit - latch toggles only while rolling --- libs/ardour/automation_control.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index eb57ecbdb3..687f03f4f0 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -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; } -- cgit v1.2.3