Fix tempo-marker/curve z-axis stacking

Previously it was possible that the tempo-curve display was rendered
above a tempo-marker (e.g. create a marker in the between of existing
markers). With the tempo-curve in front, markers on the right
became inaccessible.
This commit is contained in:
Robin Gareus 2022-06-26 16:20:00 +02:00
parent 944b0ed6e0
commit b0738b1950
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 0 deletions

View File

@ -427,6 +427,7 @@ Editor::update_tempo_curves (double min_tempo, double max_tempo, samplecnt_t sr)
++tmp;
TempoCurve& curve (tm->curve());
curve.the_item().lower_to_bottom ();
curve.set_max_tempo (max_tempo);
curve.set_min_tempo (min_tempo);