feat(views/geomap): dragging notes that are not children

This commit is contained in:
Elian Doran
2025-07-07 18:02:32 +03:00
parent 2a665dffbc
commit 63c408c45b
2 changed files with 14 additions and 4 deletions

View File

@@ -159,7 +159,7 @@ export default class GeoView extends ViewMode<MapData> {
map.on("zoomend", updateFn);
map.on("click", (e) => this.#onMapClicked(e))
map.on("contextmenu", (e) => openMapContextMenu(this.parentNote.noteId, e));
setupDragging(this.$container, map);
setupDragging(this.$container, map, this.parentNote.noteId);
this.#reloadMarkers();