Skip to content

Commit 2768b0a

Browse files
committed
fixup has-only-lines logic
1 parent a3f09da commit 2768b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/scatter/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = function selectPoints(searchInfo, polygon) {
2727
y;
2828

2929
// TODO: include lines? that would require per-segment line properties
30-
var hasOnlyLines = (subtypes.hasMarkers(trace) && subtypes.hasText(trace));
30+
var hasOnlyLines = (!subtypes.hasMarkers(trace) && !subtypes.hasText(trace));
3131
if(trace.visible !== true || hasOnlyLines) return;
3232

3333
var opacity = Array.isArray(marker.opacity) ? 1 : marker.opacity;

0 commit comments

Comments
 (0)