Skip to content

Commit 5e741d8

Browse files
committed
Cover marginal distribution selections
1 parent ec4c8f3 commit 5e741d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/selections/select.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,8 @@ function determineSearchTraces(gd, xAxes, yAxes, subplot) {
809809
var sankeyInfo = createSearchInfo(trace._module, cd, xAxes[0], yAxes[0]);
810810
searchTraces.push(sankeyInfo);
811811
} else {
812-
if(xAxisIds.indexOf(trace.xaxis) === -1 && !trace._xA) continue;
813-
if(yAxisIds.indexOf(trace.yaxis) === -1 && !trace._yA) continue;
812+
if(xAxisIds.indexOf(trace.xaxis) === -1 && (!trace._xA || !trace._xA.overlaying)) continue;
813+
if(yAxisIds.indexOf(trace.yaxis) === -1 && (!trace._yA || !trace._yA.overlaying)) continue;
814814

815815
searchTraces.push(createSearchInfo(trace._module, cd,
816816
getFromId(gd, trace.xaxis), getFromId(gd, trace.yaxis)));

0 commit comments

Comments
 (0)