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.
This commit is contained in:
Ben Loftis 2023-05-22 15:49:42 -05:00
parent c669ff58e5
commit cc630c6bbe
1 changed files with 0 additions and 9 deletions

View File

@ -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 ();