From 55ba421f9aa865db4cbdd97cd852cb58edd29df0 Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Wed, 23 Aug 2017 12:24:24 +0300 Subject: [PATCH] Revert paints --- .../osmand/plus/measurementtool/MeasurementToolLayer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolLayer.java b/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolLayer.java index c88afd5d07..2f645332d7 100644 --- a/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolLayer.java +++ b/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolLayer.java @@ -379,7 +379,7 @@ public class MeasurementToolLayer extends OsmandMapLayer implements ContextMenuL } if (rightTx.size() > 1) { 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); - canvas.drawPath(centerPath, lineAttrs.paint_1); + canvas.drawPath(centerPath, lineAttrs.paint); } else { centerPath.reset(); centerTx.reset(); @@ -552,7 +552,7 @@ public class MeasurementToolLayer extends OsmandMapLayer implements ContextMenuL centerTy.add(tb.getCenterPixelY()); calculatePath(tb, centerTx, centerTy, centerPath); - canvas.drawPath(centerPath, lineAttrs.paint_1); + canvas.drawPath(centerPath, lineAttrs.paint); } } if (inAddPointAfterMode || inAddPointBeforeMode || inMovePointMode) {