mirror of
https://github.com/status-im/react-native-linear-gradient.git
synced 2025-02-13 16:16:56 +00:00
Merge pull request #111 from slycoder/android-clamp
Use CLAMP instead of MIRROR
This commit is contained in:
commit
927eb6a134
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user