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
This commit is contained in:
Ben Loftis 2023-04-27 10:56:31 -05:00
parent 57d2a85c0a
commit 5b42422c60
1 changed files with 0 additions and 12 deletions

View File

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