mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-25 12:03:27 +00:00
[android] Fix rendering of images, matrix transform applied twice
This commit is contained in:
@@ -193,13 +193,6 @@ class ImageView extends RenderableView {
|
||||
Matrix transform = ViewBox.getTransform(vbRect, renderRect, mAlign, mMeetOrSlice);
|
||||
transform.mapRect(vbRect);
|
||||
|
||||
if (mMatrix != null) {
|
||||
mMatrix.mapRect(vbRect);
|
||||
}
|
||||
if (mTransform != null) {
|
||||
mTransform.mapRect(vbRect);
|
||||
}
|
||||
|
||||
canvas.clipPath(getPath(canvas, paint));
|
||||
|
||||
Path clipPath = getClipPath(canvas, paint);
|
||||
|
||||
Reference in New Issue
Block a user