Don't double clip images in Nodes
Summary: Nodes would typically clip its images, and then Fresco would then re-clip as part of ScaleTypeDrawable - in addition to being unnecessary, it's also incorrect, beacuse it causes the image to be smaller than it should be. Reviewed By: sriramramani Differential Revision: D3754778
This commit is contained in:
parent
9734210f39
commit
82a4017ecd
|
@ -207,6 +207,11 @@ import com.facebook.react.views.imagehelper.MultiSourceHelper.MultiSourceResult;
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean shouldClip() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSubmit(String id, Object callerContext) {
|
||||
if (mCallback != null && mReactTag != 0) {
|
||||
|
|
Loading…
Reference in New Issue