diff --git a/Logic/Osm/OsmObject.ts b/Logic/Osm/OsmObject.ts index 1531b7adb3..44b8091906 100644 --- a/Logic/Osm/OsmObject.ts +++ b/Logic/Osm/OsmObject.ts @@ -1,8 +1,8 @@ -import { Utils } from "../../Utils"; -import polygon_features from "../../assets/polygon-features.json"; -import { OsmFeature, OsmId, OsmTags, WayId } from "../../Models/OsmFeature"; -import OsmToGeoJson from "osmtogeojson"; -import { Feature, LineString, Polygon } from "geojson"; +import { Utils } from "../../Utils" +import polygon_features from "../../assets/polygon-features.json" +import { OsmFeature, OsmId, OsmTags, WayId } from "../../Models/OsmFeature" +import OsmToGeoJson from "osmtogeojson" +import { Feature, LineString, Polygon } from "geojson" export abstract class OsmObject { private static defaultBackend = "https://www.openstreetmap.org/" diff --git a/UI/InputElement/Helpers/DirectionInput.svelte b/UI/InputElement/Helpers/DirectionInput.svelte index 6158bf7e1e..c598bb911a 100644 --- a/UI/InputElement/Helpers/DirectionInput.svelte +++ b/UI/InputElement/Helpers/DirectionInput.svelte @@ -56,7 +56,10 @@ on:mouseup={() => { isDown = false }} - on:touchmove={(e) =>{ onPosChange(e.touches[0].clientX, e.touches[0].clientY); e.preventDefault() }} + on:touchmove={(e) => { + onPosChange(e.touches[0].clientX, e.touches[0].clientY) + e.preventDefault() + }} on:touchstart={(e) => onPosChange(e.touches[0].clientX, e.touches[0].clientY)} >