Skip to content

Commit

Permalink
Merge pull request #5879 from Sizurka/fix-hover-toggle
Browse files Browse the repository at this point in the history
Fix cartesian hover toggle
  • Loading branch information
archmoj authored Jul 13, 2024
2 parents 7d02d9c + 5415909 commit fb78b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/modebar/manage.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function getButtonGroups(gd) {
// regardless of what other types are on the plot, since they'll all
// just treat any truthy hovermode as 'closest'
if(hasCartesian) {
hoverGroup = ['toggleSpikelines', 'hoverClosestCartesian', 'hoverCompareCartesian'];
hoverGroup.push('toggleSpikelines', 'hoverClosestCartesian', 'hoverCompareCartesian');
}
if(hasNoHover(fullData) || hasUnifiedHoverLabel) {
hoverGroup = [];
Expand Down

0 comments on commit fb78b32

Please sign in to comment.