# HG changeset patch # User Chris Cannam # Date 1209467234 0 # Node ID a6408c382616816a749507e7a1bc11c3d41e0e0d # Parent 036b75ddcd3fa25c58719cc70c19bb72fc668370 * The fix in rev 1002 had the nasty side-effect of breaking part of the fix in rev 972. Re-fixing. diff -r 036b75ddcd3f -r a6408c382616 layer/TimeRulerLayer.cpp --- a/layer/TimeRulerLayer.cpp Fri Mar 14 17:24:42 2008 +0000 +++ b/layer/TimeRulerLayer.cpp Tue Apr 29 11:07:14 2008 +0000 @@ -318,7 +318,7 @@ for (int i = 1; i < ticks; ++i) { - dms = ms - incms + (i * double(incms)) / ticks; + dms = ms + (i * double(incms)) / ticks; frame = lrint((dms * sampleRate) / 1000.0); frame /= v->getZoomLevel(); frame *= v->getZoomLevel(); // exact pixel as above