diff --git a/src/lottie/lottieitem.cpp b/src/lottie/lottieitem.cpp index 84945b6278..1104cd59af 100644 --- a/src/lottie/lottieitem.cpp +++ b/src/lottie/lottieitem.cpp @@ -875,7 +875,7 @@ static float getScale(const VMatrix &matrix) p2 = matrix.map(p2); VPointF final = p2 - p1; - return std::sqrt(final.x() * final.x() + final.y() * final.y()); + return std::sqrt(final.x() * final.x() + final.y() * final.y()) / 2.0; } void LOTStrokeItem::updateRenderNode()