Fixed issue with image rotation.

This commit is contained in:
Nedyalko Nikolov
2016-10-31 18:04:14 +02:00
parent 6c077da786
commit cde642186b

View File

@ -111,10 +111,8 @@ export class Image extends imageCommon.Image {
return; return;
} }
let rotation = nativeImage.rotationAngle ? nativeImage.rotationAngle : 0 ; let rotation = nativeImage.rotationAngle ? nativeImage.rotationAngle : 0;
if (rotation > 0) {
this.android.setRotationAngle(rotation); this.android.setRotationAngle(rotation);
}
this.android.setImageBitmap(nativeImage.android); this.android.setImageBitmap(nativeImage.android);
} }