Skip to content

Commit cbe6602

Browse files
committed
Lintify
1 parent 40159f8 commit cbe6602

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/traces/scattergl/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function calc(gd, trace) {
118118

119119
// FIXME: organize it in a more appropriate manner, probably in sceneOptions
120120
// put point-cluster instance for optimized regl calc
121-
if (options.marker) {
121+
if(options.marker) {
122122
options.marker.cluster = stash.tree;
123123
}
124124

@@ -307,7 +307,7 @@ function sceneOptions(gd, subplot, trace, positions) {
307307
markerOptions = makeMarkerOptions(markerOpts);
308308
selectedOptions = makeSelectedOptions(trace.selected, markerOpts);
309309
unselectedOptions = makeSelectedOptions(trace.unselected, markerOpts);
310-
if (!trace.unselected) unselectedOptions.opacity = DESELECTDIM;
310+
if(!trace.unselected) unselectedOptions.opacity = DESELECTDIM;
311311

312312
markerOptions.positions = positions;
313313
}

src/traces/scatterpolargl/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function plot(container, subplot, cdata) {
103103

104104
stash.tree = cluster(positions);
105105

106-
if (options.marker) {
106+
if(options.marker) {
107107
options.marker.cluster = stash.tree;
108108
}
109109

0 commit comments

Comments
 (0)