fix flickering in tempo curve when markers are reordered.
This commit is contained in:
parent
b830ad3d66
commit
dbbe65777f
|
@ -178,7 +178,7 @@ Editor::tempo_map_changed (const PropertyChange& /*ignored*/)
|
||||||
|
|
||||||
struct CurveComparator {
|
struct CurveComparator {
|
||||||
bool operator() (TempoCurve const * a, TempoCurve const * b) {
|
bool operator() (TempoCurve const * a, TempoCurve const * b) {
|
||||||
return a->position() < b->position();
|
return a->tempo().frame() < b->tempo().frame();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user