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
🔪 obsolete if-else clause
- post #3578 all scattergl traces either set a `tree` or
  and `ids` array during the calc step.
  • Loading branch information
etpinard committed Sep 23, 2019
commit 5d9bd0ada0e3d195b2b966a63fe25a425646b26b
4 changes: 2 additions & 2 deletions src/traces/scattergl/hover.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ function hoverPoints(pointData, xval, yval, hovermode) {
Math.max(xl, xr), Math.max(yl, yr)
);
}
} else if(stash.ids) {
} else {
ids = stash.ids;
} else return [pointData];
}

// pick the id closest to the point
// note that point possibly may not be found
Expand Down