Skip to content

Commit a3cf740

Browse files
committed
Avoid multitrace error
1 parent 0c47eb2 commit a3cf740

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/traces/scattergl/select.js

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ module.exports = function selectPoints(searchInfo, polygon) {
2323
y;
2424

2525
var glTrace = cd[0]._glTrace;
26+
27+
if(!glTrace) return;
28+
2629
var scene = glTrace.scene;
2730

2831
var hasOnlyLines = (!subtypes.hasMarkers(trace) && !subtypes.hasText(trace));

0 commit comments

Comments
 (0)