Disable tempo end/twist drag for meter-locked tempi

It was assumed that the drag takes place within an area of musical time.
This is not true for the space before any non-initial
meter-locked tempo.
In the case of the initial tempo, there is no previous section
to perform an end-drag on.
This commit is contained in:
nick_m 2017-06-17 05:11:38 +10:00
parent 0d9c4986e9
commit cadb5c481c
2 changed files with 17 additions and 5 deletions

View file

@ -881,6 +881,7 @@ private:
double _grab_qn;
ARDOUR::TempoSection* _tempo;
XMLNode* _before_state;
bool _drag_valid;
};
/** Drag of the playhead cursor */