Skip to content

Commit e2cd6ef

Browse files
committed
Make text selector more specific
1 parent 6dcfbdc commit e2cd6ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/traces/scatter/plot.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
597597
}
598598

599599
// text points
600-
selection = text.selectAll('g');
600+
selection = text.selectAll('g.textpoint');
601601
join = selection.data(textFilter, keyFunc);
602602

603603
// each text needs to go in its own 'g' in case

0 commit comments

Comments
 (0)