Fix cancel
This commit is contained in:
parent
7aadcc8f75
commit
a94e6981d3
1 changed files with 1 additions and 0 deletions
|
@ -881,6 +881,7 @@ public class MeasurementToolFragment extends Fragment {
|
|||
|
||||
private void cancelAddPointBeforeOrAfterMode() {
|
||||
switchAddPointBeforeAfterMode(false);
|
||||
editingCtx.splitSegments(editingCtx.getBeforePoints().size() + editingCtx.getAfterPoints().size());
|
||||
editingCtx.setSelectedPointPosition(-1);
|
||||
MeasurementToolLayer measurementToolLayer = getMeasurementLayer();
|
||||
if (measurementToolLayer != null) {
|
||||
|
|
Loading…
Reference in a new issue