aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/skottie/src/SkottieAdapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/skottie/src/SkottieAdapter.cpp')
-rw-r--r--modules/skottie/src/SkottieAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/skottie/src/SkottieAdapter.cpp b/modules/skottie/src/SkottieAdapter.cpp
index f4bb0a8fbb..1c76e198c2 100644
--- a/modules/skottie/src/SkottieAdapter.cpp
+++ b/modules/skottie/src/SkottieAdapter.cpp
@@ -68,7 +68,7 @@ void PolyStarAdapter::apply() {
SkPath poly;
- auto angle = SkDegreesToRadians(fRotation);
+ auto angle = SkDegreesToRadians(fRotation - 90);
poly.moveTo(pt_on_circle(fPosition, fOuterRadius, angle));
poly.incReserve(fType == Type::kStar ? count * 2 : count);