Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40cc585 commit 026e16eCopy full SHA for 026e16e
src/plots/cartesian/graph_interact.js
@@ -2044,7 +2044,10 @@ fx.dragElement = function(options) {
2044
2045
if(Math.abs(dx) < minDrag) dx = 0;
2046
if(Math.abs(dy) < minDrag) dy = 0;
2047
- if(dx||dy) gd._dragged = true;
+ if(dx||dy) {
2048
+ gd._dragged = true;
2049
+ fx.unhover(gd);
2050
+ }
2051
2052
if(options.moveFn) options.moveFn(dx, dy, gd._dragged);
2053
@@ -2059,7 +2062,6 @@ fx.dragElement = function(options) {
2059
2062
2060
2063
if(!gd._dragging) {
2061
2064
gd._dragged = false;
- fx.unhover(gd);
2065
return;
2066
}
2067
gd._dragging = false;
0 commit comments