Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bring fx.unhover call to onDone handler
  • Loading branch information
etpinard committed Jan 11, 2016
commit 40cc58508dc97c84006a1a32cc3bc72f3e681ea9
2 changes: 1 addition & 1 deletion src/plots/cartesian/graph_interact.js
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,6 @@ function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
clearSelect();
}
else if(dragModeNow === 'select' || dragModeNow === 'lasso') {
fx.unhover(gd); // we want a clear plot for dragging
prepSelect(e, startX, startY, dragOptions, dragModeNow);
}
}
Expand Down Expand Up @@ -2060,6 +2059,7 @@ fx.dragElement = function(options) {

if(!gd._dragging) {
gd._dragged = false;
fx.unhover(gd);
return;
}
gd._dragging = false;
Expand Down