From 0d2ecdfb91cd709aca8078d9f3138d30adafd6ab Mon Sep 17 00:00:00 2001 From: rshen91 Date: Fri, 19 Nov 2021 07:35:34 -0700 Subject: [PATCH] fix: remove pointer for onElementOver --- .../chart_types/xy_chart/state/selectors/get_cursor_pointer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/charts/src/chart_types/xy_chart/state/selectors/get_cursor_pointer.ts b/packages/charts/src/chart_types/xy_chart/state/selectors/get_cursor_pointer.ts index ca891fd39a..d8f94d3267 100644 --- a/packages/charts/src/chart_types/xy_chart/state/selectors/get_cursor_pointer.ts +++ b/packages/charts/src/chart_types/xy_chart/state/selectors/get_cursor_pointer.ts @@ -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) {