Revert paints
This commit is contained in:
parent
8dc54b7f1e
commit
55ba421f9a
1 changed files with 3 additions and 3 deletions
|
@ -379,7 +379,7 @@ public class MeasurementToolLayer extends OsmandMapLayer implements ContextMenuL
|
||||||
}
|
}
|
||||||
if (rightTx.size() > 1) {
|
if (rightTx.size() > 1) {
|
||||||
calculatePath(tb, rightTx, rightTy, rightPath);
|
calculatePath(tb, rightTx, rightTy, rightPath);
|
||||||
canvas.drawPath(rightPath, lineAttrs.paint3);
|
canvas.drawPath(rightPath, lineAttrs.paint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -535,7 +535,7 @@ public class MeasurementToolLayer extends OsmandMapLayer implements ContextMenuL
|
||||||
}
|
}
|
||||||
|
|
||||||
calculatePath(tb, centerTx, centerTy, centerPath);
|
calculatePath(tb, centerTx, centerTy, centerPath);
|
||||||
canvas.drawPath(centerPath, lineAttrs.paint_1);
|
canvas.drawPath(centerPath, lineAttrs.paint);
|
||||||
} else {
|
} else {
|
||||||
centerPath.reset();
|
centerPath.reset();
|
||||||
centerTx.reset();
|
centerTx.reset();
|
||||||
|
@ -552,7 +552,7 @@ public class MeasurementToolLayer extends OsmandMapLayer implements ContextMenuL
|
||||||
centerTy.add(tb.getCenterPixelY());
|
centerTy.add(tb.getCenterPixelY());
|
||||||
|
|
||||||
calculatePath(tb, centerTx, centerTy, centerPath);
|
calculatePath(tb, centerTx, centerTy, centerPath);
|
||||||
canvas.drawPath(centerPath, lineAttrs.paint_1);
|
canvas.drawPath(centerPath, lineAttrs.paint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (inAddPointAfterMode || inAddPointBeforeMode || inMovePointMode) {
|
if (inAddPointAfterMode || inAddPointBeforeMode || inMovePointMode) {
|
||||||
|
|
Loading…
Reference in a new issue