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 committed Nov 14, 2024
1 parent 35c166e commit d260bb2
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

1 comment on commit d260bb2

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.