refactor(views/geomap): integrate drag into editing

This commit is contained in:
Elian Doran
2025-07-07 18:04:00 +03:00
parent 63c408c45b
commit 5c6bb99d78
3 changed files with 47 additions and 51 deletions

View File

@@ -7,10 +7,8 @@ import processNoteWithMarker, { processNoteWithGpxTrack } from "./markers.js";
import { hasTouchBar } from "../../../services/utils.js";
import toast from "../../../services/toast.js";
import { CommandListenerData, EventData } from "../../../components/app_context.js";
import { createNewNote, moveMarker } from "./editing.js";
import link from "../../../services/link.js";
import { createNewNote, moveMarker, setupDragging } from "./editing.js";
import { openMapContextMenu } from "./context_menu.js";
import setupDragging from "./dragging.js";
const TPL = /*html*/`
<div class="geo-view">