Skip to content

Commit 1eb7deb

Browse files
committed
bump regl-scatter2d and fix issue 3246 maintain gl2d marker sizes with different pixel ratios
1 parent 979596e commit 1eb7deb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"regl": "^1.6.1",
109109
"regl-error2d": "^2.0.11",
110110
"regl-line2d": "^3.0.18",
111-
"regl-scatter2d": "3.1.9",
111+
"regl-scatter2d": "3.2.0",
112112
"regl-splom": "^1.0.12",
113113
"right-now": "^1.0.0",
114114
"robust-orientation": "^1.1.3",

src/traces/scattergl/plot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ module.exports = function plot(gd, subplot, cdata) {
6767
scene.line2d = createLine(regl);
6868
}
6969
if(scene.scatter2d === true) {
70-
scene.scatter2d = createScatter(regl);
70+
scene.scatter2d = createScatter(regl, { constPointSize: true });
7171
}
7272
if(scene.fill2d === true) {
7373
scene.fill2d = createLine(regl);

0 commit comments

Comments
 (0)