Skip to content

Commit f48cc2f

Browse files
committed
Fix regl-error2d update
1 parent d3fd7d2 commit f48cc2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/scattergl/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ function sceneUpdate(container, subplot) {
561561
if(scene.fill2d) scene.fill2d.update(opts);
562562
if(scene.scatter2d) scene.scatter2d.update(opts);
563563
if(scene.line2d) scene.line2d.update(opts);
564-
if(scene.error2d) scene.error2d.update([].push.apply(opts, opts));
564+
if(scene.error2d) scene.error2d.update(opts.concat(opts));
565565
if(scene.select2d) scene.select2d.update(opts);
566566

567567
scene.draw();

0 commit comments

Comments
 (0)