Merge pull request #111 from slycoder/android-clamp

Use CLAMP instead of MIRROR
This commit is contained in:
Dmitry Gladkov 2016-09-22 16:19:10 +03:00 committed by GitHub
commit 927eb6a134

View File

@ -90,7 +90,7 @@ public class LinearGradientView extends View {
mEndPos[1] * mSize[1],
mColors,
mLocations,
Shader.TileMode.MIRROR);
Shader.TileMode.CLAMP);
mPaint.setShader(mShader);
invalidate();
}