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:
parent
c669ff58e5
commit
cc630c6bbe
@ -3626,15 +3626,6 @@ MappingTwistDrag::motion (GdkEvent* event, bool first_move)
|
|||||||
void
|
void
|
||||||
MappingTwistDrag::finished (GdkEvent* event, bool movement_occurred)
|
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) {
|
if (!_drag_valid) {
|
||||||
_editor->abort_tempo_mapping ();
|
_editor->abort_tempo_mapping ();
|
||||||
_editor->abort_reversible_command ();
|
_editor->abort_reversible_command ();
|
||||||
|
Loading…
Reference in New Issue
Block a user