From e843cb677afbe89b1437386321d03a369c9d1727 Mon Sep 17 00:00:00 2001 From: MV88 Date: Fri, 20 Oct 2023 18:28:52 +0200 Subject: [PATCH] Fix #9568 fixed selection with Alt + Mouse --- web/client/components/map/openlayers/BoxSelectionSupport.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/client/components/map/openlayers/BoxSelectionSupport.jsx b/web/client/components/map/openlayers/BoxSelectionSupport.jsx index 63a467ddd8..66c3f82ad0 100644 --- a/web/client/components/map/openlayers/BoxSelectionSupport.jsx +++ b/web/client/components/map/openlayers/BoxSelectionSupport.jsx @@ -34,8 +34,8 @@ const BoxSelectionSupport = (props) => { onBoxEnd({ boxExtent: dragBox.getGeometry().getExtent(), modifiers: { - ctrl: event.mapBrowserEvent.pointerEvent.ctrlKey, - metaKey: event.mapBrowserEvent.pointerEvent.metaKey // MAC OS + ctrl: event.mapBrowserEvent.originalEvent.ctrlKey, + metaKey: event.mapBrowserEvent.originalEvent.metaKey // MAC OS } }); });