From cc630c6bbee5dc33da021540f3e1ea1a20097897 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 22 May 2023 15:49:42 -0500 Subject: [PATCH] tempo mapping: clicking on a bar line should always make a new tempo marker * the process of tempo mapping requires/encourages you to click on the last-known good marker, before continuing to make tempo tweaks * this conflicts with the idea that clicking in a ruler should start a playhead-drag. TBD. but tempo-mapping is a special and rare operation. --- gtk2_ardour/editor_drag.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index feda5479f9..f172590291 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -3626,15 +3626,6 @@ MappingTwistDrag::motion (GdkEvent* event, bool first_move) void MappingTwistDrag::finished (GdkEvent* event, bool movement_occurred) { - if (!movement_occurred) { - /* click, no drag */ - - _editor->abort_tempo_mapping (); - _editor->abort_reversible_command (); - _editor->session ()->request_locate (grab_sample (), false, _was_rolling ? MustRoll : RollIfAppropriate); - return; - } - if (!_drag_valid) { _editor->abort_tempo_mapping (); _editor->abort_reversible_command ();