From 6c79406d7f7ce39f8de456726c776d1f61fc41b8 Mon Sep 17 00:00:00 2001 From: Chris Gervang Date: Tue, 31 Aug 2021 17:21:08 -0700 Subject: [PATCH] [chore] remove hover highlight in video export modal (#154) --- modules/react/src/kepler-layers.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/modules/react/src/kepler-layers.js b/modules/react/src/kepler-layers.js index 7014123d..f0855bd6 100644 --- a/modules/react/src/kepler-layers.js +++ b/modules/react/src/kepler-layers.js @@ -52,16 +52,18 @@ function renderLayer(overlays, idx, map, viewState) { }; // Layer is Layer class - const layerOverlay = layer.renderLayer({ - data, - gpuFilter, - idx, - interactionConfig, - layerCallbacks, - mapState: {...mapState, ...viewState}, - animationConfig, - objectHovered - }); + const layerOverlay = layer + .renderLayer({ + data, + gpuFilter, + idx, + interactionConfig, + layerCallbacks, + mapState: {...mapState, ...viewState}, + animationConfig, + objectHovered + }) + .map(deckLayer => deckLayer.clone({pickable: false})); return overlays.concat(layerOverlay || []); }