Skip to content

Commit 9f57eff

Browse files
committed
Ignore overcalculating snap-points
1 parent 1c61a47 commit 9f57eff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/traces/scattergl/convert.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ proto.updateFast = function(options) {
408408

409409
// if we have selPositions array - means we have to render all points transparent, and selected points opaque
410410
if(selPositions) {
411-
this.scatter.options.positions = positions;
411+
this.scatter.options.positions = null;
412412

413413
markerColor = str2RGBArray(options.marker.color);
414414
borderColor = str2RGBArray(options.marker.line.color);
@@ -425,6 +425,7 @@ proto.updateFast = function(options) {
425425
this.scatter.options.borderSize = options.marker.line.width;
426426

427427
this.scatter.update();
428+
this.scatter.options.positions = positions;
428429

429430

430431
this.selectScatter.options.positions = selPositions;

0 commit comments

Comments
 (0)