From c01f6c1ef6ccb15f6b9f9df193a510bed1847126 Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Fri, 31 May 2024 15:23:28 +0700 Subject: [PATCH] Finger tap-on-canvas digitizing should move cursor but still let user confirm via vertex addition button --- src/qml/qgismobileapp.qml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/qml/qgismobileapp.qml b/src/qml/qgismobileapp.qml index 667bff8c7c..683bd93309 100644 --- a/src/qml/qgismobileapp.qml +++ b/src/qml/qgismobileapp.qml @@ -541,15 +541,7 @@ ApplicationWindow { if ( qfieldSettings.fingerTapDigitizing && ( ( stateMachine.state === "digitize" && digitizingFeature.currentLayer ) || stateMachine.state === "measure" ) ) { if ( !positionLocked && ( !featureForm.visible || digitizingToolbar.geometryRequested ) ) { - console.log(point.position) - coordinateLocator.sourceLocation = point.position coordinateLocator.sourceLocation = point - if ( Number( currentRubberband.model.geometryType ) === Qgis.GeometryType.Point || - Number( currentRubberband.model.geometryType ) === Qgis.GeometryType.Null ) { - digitizingToolbar.confirm() - } else { - digitizingToolbar.addVertex() - } } } else if (!featureForm.canvasOperationRequested && !overlayFeatureFormDrawer.visible && featureForm.state !== "FeatureFormEdit") { identifyTool.isMenuRequest = false