Skip to content

Commit 54c5863

Browse files
author
Alexander Vakrilov
authored
Fix: Rotate transform in animations not working
1 parent 930e0a2 commit 54c5863

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nativescript-angular/animation-player.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ export class NativeScriptAnimationPlayer implements AnimationPlayer {
226226
val = val * (180.0 / Math.PI);
227227
}
228228
animationInfo.declarations.push({ property: "rotate", value: val });
229+
break;
229230
case "none":
230231
animationInfo.declarations.push({ property: "scale", value: { x: 1, y: 1 } });
231232
animationInfo.declarations.push({ property: "translate", value: { x: 0, y: 0 } });

0 commit comments

Comments
 (0)