diff --git a/tns-core-modules/ui/animation/animation.ios.ts b/tns-core-modules/ui/animation/animation.ios.ts index 7af8165fd..12b39d7d7 100644 --- a/tns-core-modules/ui/animation/animation.ios.ts +++ b/tns-core-modules/ui/animation/animation.ios.ts @@ -262,8 +262,7 @@ export class Animation extends common.Animation implements definition.Animation }; propertyNameToAnimate = "transform.rotation"; originalValue = nativeView.layer.valueForKeyPath("transform.rotation"); - if (originalValue === 0 && animation.target.rotate !== undefined && - animation.target.rotate !== 0 && Math.floor(value / 360) - value / 360 === 0) { + if (animation.target.rotate !== undefined && animation.target.rotate !== 0 && Math.floor(value / 360) - value / 360 === 0) { originalValue = animation.target.rotate * Math.PI / 180; } value = value * Math.PI / 180;