summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_tempodisplay.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-12-11 23:46:49 +1100
committernick_m <mainsbridge@gmail.com>2016-12-11 23:46:49 +1100
commitdbbe65777f17c2dc9b19c351be3db8cd907dcae7 (patch)
treed4be664ef4804e059549ba8ed97a3b022f24e64f /gtk2_ardour/editor_tempodisplay.cc
parentb830ad3d667dff5c694027572db12726d719ea31 (diff)
fix flickering in tempo curve when markers are reordered.
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r--gtk2_ardour/editor_tempodisplay.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc
index 873bec3307..fa1ea786be 100644
--- a/gtk2_ardour/editor_tempodisplay.cc
+++ b/gtk2_ardour/editor_tempodisplay.cc
@@ -178,7 +178,7 @@ Editor::tempo_map_changed (const PropertyChange& /*ignored*/)
struct CurveComparator {
bool operator() (TempoCurve const * a, TempoCurve const * b) {
- return a->position() < b->position();
+ return a->tempo().frame() < b->tempo().frame();
}
};