Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6497363

Browse files
committed
refactor
1 parent 935b8f1 commit 6497363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/fx/hover.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,6 @@ function _hover(gd, evt, subplot, noHoverEvent, eventTarget) {
533533
pointData.scene = fullLayout._splomScenes[trace.uid];
534534
}
535535

536-
closedataPreviousLength = hoverData.length;
537-
538536
// for a highlighting array, figure out what
539537
// we're searching for with this element
540538
if(_mode === 'array') {
@@ -561,6 +559,8 @@ function _hover(gd, evt, subplot, noHoverEvent, eventTarget) {
561559
yval = yvalArray[subploti];
562560
}
563561

562+
closedataPreviousLength = hoverData.length;
563+
564564
// Now if there is range to look in, find the points to hover.
565565
if(hoverdistance !== 0) {
566566
if(trace._module && trace._module.hoverPoints) {

0 commit comments

Comments
 (0)