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:
parent
57d2a85c0a
commit
5b42422c60
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user