# HG changeset patch # User Drew Perttula # Date 1559386974 0 # Node ID da950e4619f3d33e0a6424e395c7dd65759dc8de # Parent 11bc3d32f45309507c659623322254d39eac6647 fix sorting of points within a note. they would randomly scramble Ignore-this: 6fdffe0ac309ebaacc3ecf9406dba03b diff -r 11bc3d32f453 -r da950e4619f3 light9/web/timeline/timeline.coffee --- a/light9/web/timeline/timeline.coffee Sat Jun 01 10:59:16 2019 +0000 +++ b/light9/web/timeline/timeline.coffee Sat Jun 01 11:02:54 2019 +0000 @@ -77,7 +77,7 @@ v = $V([xOffset + tm, val]) v.uri = pt worldPts.push(v) - worldPts.sort((a,b) -> a.e(1) > b.e(1)) + worldPts.sort((a,b) -> a.e(1) - b.e(1)) return [uris, worldPts] curveWidth: (worldPts) ->