Skip to content

Commit 05c576c

Browse files
authored
Merge pull request #1447 from plotly/parcoords-incremental-rendering-fix
Parcoords to also render last block increment
2 parents ed5e520 + d25872f commit 05c576c

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

src/traces/parcoords/lines.js

+1-1
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
});
Loading

0 commit comments

Comments
 (0)