From 5b42422c60996a69bae7663ba89ec11d97cedc34 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 27 Apr 2023 10:56:31 -0500 Subject: [PATCH] allow single-click in the mapping ruler to add tempo markers (again) * this is useful to make a 'guard point' ... * ... this just preserves/sustains the tempo from the prior tempo marker --- gtk2_ardour/editor_drag.cc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 7943199b46..37b9e9ee56 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -3561,18 +3561,6 @@ MappingLinearDrag::finished (GdkEvent* event, bool movement_occurred) return; } - if (!movement_occurred) { - - /* click, no drag */ - - _editor->abort_tempo_mapping (); - _editor->session()->request_locate (grab_sample(), false, _was_rolling ? MustRoll : RollIfAppropriate); - return; - - } else { - - } - XMLNode &after = map->get_state(); _editor->session()->add_command (new Temporal::TempoCommand (_("stretch tempo"), _before_state, &after));