Skip to content

Commit

Permalink
fix: remove pointer for onElementOver (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
rshen91 authored Nov 24, 2021
1 parent 65f4886 commit bf95dbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const getPointerCursorSelector = createCustomCachedSelector(
if (xPos < 0 || xPos >= chartDimensions.width || yPos < 0 || yPos >= chartDimensions.height) {
return DEFAULT_CSS_CURSOR;
}
if (highlightedGeometries.length > 0 && (settingsSpec.onElementClick || settingsSpec.onElementOver)) {
if (highlightedGeometries.length > 0 && settingsSpec.onElementClick) {
return 'pointer';
}
if (highlightedGeometries.length === 0 && settingsSpec.onAnnotationClick && annotationTooltipState) {
Expand Down

0 comments on commit bf95dbc

Please sign in to comment.