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

Commit 0d00b27e authored by Rob Tsuk's avatar Rob Tsuk Committed by Android Git Automerger
Browse files

am 6bd8d825: am c4aea977: am e6c0bda5: Merge "Make points drawn with default...

am 6bd8d825: am c4aea977: am e6c0bda5: Merge "Make points drawn with default paint visible" into lmp-mr1-dev

* commit '6bd8d825':
  Make points drawn with default paint visible
parents 8b54483f 6bd8d825
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -812,7 +812,7 @@ void PathTessellator::tessellatePoints(const float* points, int count, const SkP
    // determine point shape
    // determine point shape
    SkPath path;
    SkPath path;
    float radius = paintInfo.halfStrokeWidth;
    float radius = paintInfo.halfStrokeWidth;
    if (radius == 0.0f) radius = 0.25f;
    if (radius == 0.0f) radius = 0.5f;


    if (paintInfo.cap == SkPaint::kRound_Cap) {
    if (paintInfo.cap == SkPaint::kRound_Cap) {
        path.addCircle(0, 0, radius);
        path.addCircle(0, 0, radius);