Skip to content

Commit f2569c3

Browse files
committed
draw regl-line2d grid lines before splom on drag
1 parent b28052b commit f2569c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/traces/splom/base_plot.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ function drag(gd) {
3737
var cd = gd.calcdata;
3838
var fullLayout = gd._fullLayout;
3939

40+
if(fullLayout._hasOnlyLargeSploms) {
41+
drawGrid(gd);
42+
}
43+
4044
for(var i = 0; i < cd.length; i++) {
4145
var cd0 = cd[i][0];
4246
var trace = cd0.trace;
@@ -65,10 +69,6 @@ function drag(gd) {
6569
}
6670
}
6771
}
68-
69-
if(fullLayout._hasOnlyLargeSploms) {
70-
drawGrid(gd);
71-
}
7272
}
7373

7474
function drawGrid(gd) {

0 commit comments

Comments
 (0)