diff options
Diffstat (limited to 'libs/hwui/PathRenderer.cpp')
-rw-r--r-- | libs/hwui/PathRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/PathRenderer.cpp b/libs/hwui/PathRenderer.cpp index 5b55c2b..58d6cb8 100644 --- a/libs/hwui/PathRenderer.cpp +++ b/libs/hwui/PathRenderer.cpp @@ -215,7 +215,7 @@ void getStrokeVerticesFromPerimeterAA(const Vector<Vertex>& perimeter, float hal // alpha value (TODO: support different X/Y scale) float maxAlpha = 1.0f; if (halfStrokeWidth != 0 && inverseScaleX == inverseScaleY && - halfStrokeWidth * inverseScaleX < 1.0f) { + halfStrokeWidth * inverseScaleX < 0.5f) { maxAlpha *= (2 * halfStrokeWidth) / inverseScaleX; halfStrokeWidth = 0.0f; } |