Revert paints

This commit is contained in:
PavelRatushny 2017-08-23 12:24:24 +03:00
parent 8dc54b7f1e
commit 55ba421f9a

View file

@ -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) {