Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4d651ec authored by ztenghui's avatar ztenghui Committed by Tenghui Zhu
Browse files

MiterLimit represent a ratio itself, no need to scale

Change-Id: I474d8c29fc28786c6b3ff88848c1c802ab76d77c
parent b287c938
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -883,7 +883,7 @@ public class VectorDrawable extends Drawable {
                        strokePaint.setStrokeCap(fullPath.mStrokeLineCap);
                    }

                    strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit * minScale);
                    strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit);

                    strokePaint.setColor(applyAlpha(fullPath.mStrokeColor, stackedAlpha));
                    strokePaint.setStrokeWidth(fullPath.mStrokeWidth * minScale);