[android] Fix rendering of images, matrix transform applied twice

This commit is contained in:
Mikael Sand
2019-02-03 04:07:13 +02:00
parent 9de1d186a3
commit 0f0a43f842
@@ -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);