From 6012b8af1405fc3cd79f942cbe971c4358ceb412 Mon Sep 17 00:00:00 2001 From: lightlii <32508751+lightlii@users.noreply.github.com> Date: Thu, 14 Sep 2023 14:51:50 +0200 Subject: [PATCH] chore: make map preview card non-interactive --- src/renderer/components/MapFilter/MapView/MapPreviewCard.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/renderer/components/MapFilter/MapView/MapPreviewCard.js b/src/renderer/components/MapFilter/MapView/MapPreviewCard.js index 1b5cc2c4..0c565795 100644 --- a/src/renderer/components/MapFilter/MapView/MapPreviewCard.js +++ b/src/renderer/components/MapFilter/MapView/MapPreviewCard.js @@ -6,9 +6,7 @@ import { MAPBOX_ACCESS_TOKEN } from '../../../../../config' export const MapboxPreview = ReactMapboxGl({ accessToken: MAPBOX_ACCESS_TOKEN, - dragRotate: false, - pitchWithRotate: false, - attributionControl: false, + interactive: false, injectCSS: false })