From 58cf784b7eb6fad8d78a533d4cf31f29bc804871 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 20 Jun 2023 19:15:57 +0200 Subject: [PATCH] Make ctrl-shift-click work on MacOS too --- umap/static/umap/js/umap.features.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.features.js b/umap/static/umap/js/umap.features.js index 41a99294..e9dc3997 100644 --- a/umap/static/umap/js/umap.features.js +++ b/umap/static/umap/js/umap.features.js @@ -333,7 +333,7 @@ L.U.FeatureMixin = { this.view(e) } else if (!this.isReadOnly()) { if (e.originalEvent.shiftKey) { - if (e.originalEvent.ctrlKey) { + if (e.originalEvent.ctrlKey || e.originalEvent.metaKey) { this.datalayer.edit(e) } else { if (this._toggleEditing) this._toggleEditing(e)