File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ module.exports = function plot(gd, cdpie) {
86
86
hasHoverData = false ;
87
87
88
88
function handleMouseOver ( evt ) {
89
+ evt . originalEvent = d3 . event ;
90
+
89
91
// in case fullLayout or fullData has changed without a replot
90
92
var fullLayout2 = gd . _fullLayout ,
91
93
trace2 = gd . _fullData [ trace . index ] ,
@@ -97,6 +99,7 @@ module.exports = function plot(gd, cdpie) {
97
99
// or if hover is turned off
98
100
if ( gd . _dragging || fullLayout2 . hovermode === false ||
99
101
hoverinfo === 'none' || hoverinfo === 'skip' || ! hoverinfo ) {
102
+ Fx . hover ( gd , evt , 'pie' ) ;
100
103
return ;
101
104
}
102
105
@@ -126,7 +129,6 @@ module.exports = function plot(gd, cdpie) {
126
129
outerContainer : fullLayout2 . _paper . node ( )
127
130
} ) ;
128
131
129
- evt . originalEvent = d3 . event ;
130
132
Fx . hover ( gd , evt , 'pie' ) ;
131
133
132
134
hasHoverData = true ;
You can’t perform that action at this time.
0 commit comments