Skip to content

Commit 6099192

Browse files
committed
fix lint issues
1 parent 9df290e commit 6099192

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/traces/scattergl/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,11 @@ function sceneUpdate(gd, subplot) {
265265
if(scene.fill2d && scene.fillOptions[i]) {
266266
// must do all fills first
267267
scene.fill2d.draw(i);
268-
if(scene.line2d && scene.lineOptions[i] && ( scene.fillOptions[i].fillmode === 'tozeroy' || scene.fillOptions[i].fillmode === 'tozerox' )) {
268+
if(scene.line2d && scene.lineOptions[i] && (scene.fillOptions[i].fillmode === 'tozeroy' || scene.fillOptions[i].fillmode === 'tozerox')) {
269269
scene.line2d.draw(i);
270270
allReadyDrawLines[i] = true;
271271
}
272-
if(scene.scatter2d && scene.markerOptions[i] && (!scene.selectBatch || !scene.selectBatch[i]) && ( scene.fillOptions[i].fillmode === 'tozeroy' || scene.fillOptions[i].fillmode === 'tozerox' )) {
272+
if(scene.scatter2d && scene.markerOptions[i] && (!scene.selectBatch || !scene.selectBatch[i]) && (scene.fillOptions[i].fillmode === 'tozeroy' || scene.fillOptions[i].fillmode === 'tozerox')) {
273273
// traces in no-selection mode
274274
scene.scatter2d.draw(i);
275275
allReadyDrawMarkers[i] = true;
@@ -563,7 +563,6 @@ function plot(gd, subplot, cdata) {
563563
pos = pos.concat(prevLinePos);
564564
fillOptions.hole = hole;
565565
}
566-
567566
fillOptions.fillmode = trace.fill;
568567
fillOptions.opacity = trace.opacity;
569568
fillOptions.positions = pos;

0 commit comments

Comments
 (0)