Fix: Drag-and-Drop in Welten-Konfig für Desktop (Pointer Events)

touchstart/touchmove/touchend → pointerdown/pointermove/pointerup:
- Pointer Events funktionieren auf Mouse (Desktop) + Touch (Mobile) gleich
- setPointerCapture() für sauberes Drag auch wenn Maus das Element verlässt
- e.touches[0] → e.clientX/clientY direkt aus dem Pointer Event
- Nur linke Maustaste (e.button === 0) startet Drag
SW by-v1011, APP_VER 1011
This commit is contained in:
rene 2026-05-16 09:24:08 +02:00
parent 1b3b150b50
commit 82869e3f12
4 changed files with 25 additions and 29 deletions

View file

@ -410,7 +410,7 @@ async def serve_media(path: str, request: _Request):
raise _HE(404, "Nicht gefunden.")
return _media_response(filepath)
APP_VER = "1010" # muss mit APP_VER in app.js übereinstimmen
APP_VER = "1011" # muss mit APP_VER in app.js übereinstimmen
@app.get("/.well-known/assetlinks.json")
async def assetlinks():