Skip to content

Commit f28de0c

Browse files
committed
fix lint issues
1 parent 1d147e3 commit f28de0c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/traces/scattergl/index.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,11 @@ function sceneUpdate(gd, subplot) {
263263
if(scene.fill2d && scene.fillOptions[i]) {
264264
// must do all fills first
265265
scene.fill2d.draw(i);
266-
if(scene.line2d && scene.lineOptions[i] && ( scene.fillOptions[i].fillmode === 'tozeroy' || scene.fillOptions[i].fillmode === 'tozerox' )) {
266+
if(scene.line2d && scene.lineOptions[i] && (scene.fillOptions[i].fillmode === 'tozeroy' || scene.fillOptions[i].fillmode === 'tozerox')) {
267267
scene.line2d.draw(i);
268268
allReadyDrawLines[i] = true;
269269
}
270-
if(scene.scatter2d && scene.markerOptions[i] && (!scene.selectBatch || !scene.selectBatch[i]) && ( scene.fillOptions[i].fillmode === 'tozeroy' || scene.fillOptions[i].fillmode === 'tozerox' )) {
270+
if(scene.scatter2d && scene.markerOptions[i] && (!scene.selectBatch || !scene.selectBatch[i]) && (scene.fillOptions[i].fillmode === 'tozeroy' || scene.fillOptions[i].fillmode === 'tozerox')) {
271271
// traces in no-selection mode
272272
scene.scatter2d.draw(i);
273273
allReadyDrawMarkers[i] = true;
@@ -561,7 +561,6 @@ function plot(gd, subplot, cdata) {
561561
pos = pos.concat(prevLinePos);
562562
fillOptions.hole = hole;
563563
}
564-
565564
fillOptions.fillmode = trace.fill;
566565
fillOptions.opacity = trace.opacity;
567566
fillOptions.positions = pos;

0 commit comments

Comments
 (0)