From b8bac27bcc895b540bae4c130a3c59d289736081 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 15 五月 2024 16:23:45 +0800 Subject: [PATCH] # --- src/utils/common.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/utils/common.js b/src/utils/common.js index 6fc9711..9709c90 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -20,7 +20,7 @@ } export const rotationParseNum = (num) => { - const normalizedDegrees = num % 360; + const normalizedDegrees = positiveAngle(num); return normalizedDegrees * Math.PI / 180; } -- Gitblit v1.9.1