chore(react/collections/geomap): bring back map context menu

This commit is contained in:
Elian Doran
2025-09-04 21:46:05 +03:00
parent dd2b718974
commit 3b66522a5e
3 changed files with 23 additions and 5 deletions

View File

@@ -54,7 +54,6 @@ export default class GeoView extends ViewMode<MapData> {
}
const isEditable = !this.isReadOnly;
map.on("contextmenu", (e) => openMapContextMenu(this.parentNote.noteId, e, isEditable));
if (isEditable) {
setupDragging(this.$container, map, this.parentNote.noteId);