Skip to content

Commit 73f2f67

Browse files
committed
Parcoords incremental rendering off by one error fix
1 parent ed5e520 commit 73f2f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/parcoords/lines.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function renderBlock(regl, glAes, renderState, blockLineCount, sampleCount, item
6767

6868
glAes(item);
6969

70-
if((blockNumber + 1) * blockLineCount + count < sampleCount) {
70+
if(blockNumber * blockLineCount + count < sampleCount) {
7171
renderState.currentRafs[rafKey] = window.requestAnimationFrame(function() {
7272
render(blockNumber + 1);
7373
});

0 commit comments

Comments
 (0)