From ac0b7ec46b330d124663ef26fb7d71b29d87a84f Mon Sep 17 00:00:00 2001 From: Valentin Buira Date: Wed, 31 Jul 2024 12:24:24 +0200 Subject: [PATCH] Fix visual probem in the spliting tool The buildGuideline method was cancelled --- app/qml/map/MMSplittingTools.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/qml/map/MMSplittingTools.qml b/app/qml/map/MMSplittingTools.qml index 573e9d312..197cb32e7 100644 --- a/app/qml/map/MMSplittingTools.qml +++ b/app/qml/map/MMSplittingTools.qml @@ -39,6 +39,8 @@ Item { MM.GuidelineController { id: guidelineController + allowed: true + mapSettings: root.map.mapSettings crosshairPosition: crosshair.screenPoint realGeometry: __inputUtils.transformGeometryToMapWithLayer( mapTool.recordedGeometry, __activeLayer.vectorLayer, root.map.mapSettings ) @@ -50,7 +52,10 @@ Item { height: root.map.height width: root.map.width + markerColor: __style.deepOceanColor lineColor: __style.deepOceanColor + lineStrokeStyle: ShapePath.DashLine + lineWidth: MMHighlight.LineWidths.Narrow mapSettings: root.map.mapSettings geometry: guidelineController.guidelineGeometry @@ -62,9 +67,7 @@ Item { height: map.height width: map.width - markerColor: __style.deepOceanColor lineColor: __style.deepOceanColor - lineStrokeStyle: ShapePath.DashLine mapSettings: root.map.mapSettings geometry: __inputUtils.transformGeometryToMapWithLayer( mapTool.recordedGeometry, __activeLayer.vectorLayer, root.map.mapSettings )