Skip to content

Commit fb78b32

Browse files
authored
Merge pull request #5879 from Sizurka/fix-hover-toggle
Fix cartesian hover toggle
2 parents 7d02d9c + 5415909 commit fb78b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/modebar/manage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function getButtonGroups(gd) {
185185
// regardless of what other types are on the plot, since they'll all
186186
// just treat any truthy hovermode as 'closest'
187187
if(hasCartesian) {
188-
hoverGroup = ['toggleSpikelines', 'hoverClosestCartesian', 'hoverCompareCartesian'];
188+
hoverGroup.push('toggleSpikelines', 'hoverClosestCartesian', 'hoverCompareCartesian');
189189
}
190190
if(hasNoHover(fullData) || hasUnifiedHoverLabel) {
191191
hoverGroup = [];

0 commit comments

Comments
 (0)