Skip to content

Commit

Permalink
To avoid interference with snapping results when creating features us…
Browse files Browse the repository at this point in the history
…ing a mouse/stylus, do not reset coordinate cursor when rubber band is frozen
  • Loading branch information
nirvn authored and github-actions[bot] committed Nov 14, 2024
1 parent 4ba6653 commit f19faf2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/qml/qgismobileapp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,9 @@ ApplicationWindow {
} else if (geometryEditorsToolbar.editorRubberbandModel && geometryEditorsToolbar.editorRubberbandModel.vertexCount > 1) {
coordinateLocator.sourceLocation = mapCanvas.mapSettings.coordinateToScreen(geometryEditorsToolbar.editorRubberbandModel.lastCoordinate);
} else {
coordinateLocator.sourceLocation = undefined;
if (!digitizingToolbar.rubberbandModel.frozen) {
coordinateLocator.sourceLocation = undefined;
}
}
}
}
Expand Down

0 comments on commit f19faf2

Please sign in to comment.