Make ctrl-shift-click work on MacOS too

This commit is contained in:
Yohan Boniface 2023-06-20 19:15:57 +02:00
parent 3cee4fda01
commit 58cf784b7e

View file

@ -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)