diff --git a/dev/localSession.html b/dev/localSession.html index 38a708820..0bcf63f1e 100644 --- a/dev/localSession.html +++ b/dev/localSession.html @@ -22,9 +22,9 @@ - + @@ -32,6 +32,7 @@ + @@ -47,6 +48,7 @@ + @@ -105,6 +107,7 @@ + @@ -122,7 +125,7 @@ - + @@ -144,10 +147,16 @@ + + + + + +
diff --git a/js/feature/featureUtils.js b/js/feature/featureUtils.js index c3cf478e9..a98c8ba1f 100644 --- a/js/feature/featureUtils.js +++ b/js/feature/featureUtils.js @@ -64,7 +64,6 @@ var igv = (function (igv) { bucket, feature, gap = 2, - packedRows = [], bucketStart; start = features[0].start; @@ -85,7 +84,8 @@ var igv = (function (igv) { row = 0; - while (allocatedCount < features.length && packedRows.length < maxRows) { + + while (allocatedCount < features.length && row <= maxRows) { while (nextStart <= end) {