Skip to content

Commit 6bfbd83

Browse files
committed
Ignore resnapping for scatter-fancy
1 parent bbda3e7 commit 6bfbd83

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/traces/scattergl/convert.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,15 @@ proto.updateFancy = function(options) {
593593
}
594594
}
595595

596-
this.fancyScatter.update();
596+
//prevent scatter from resnapping points
597+
if (selIds) {
598+
this.scatter.options.positions = null
599+
this.fancyScatter.update();
600+
this.scatter.options.positions = positions
601+
}
602+
else {
603+
this.fancyScatter.update();
604+
}
597605
}
598606
else {
599607
this.fancyScatter.clear();

0 commit comments

Comments
 (0)