Skip to content

Commit 5b4ceec

Browse files
committed
fix issue of incorrect angles after shape preparation
1 parent 36d2cd5 commit 5b4ceec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/animate/prepare.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export const prepare = (
125125
const bNorm = divide(pointCount, b);
126126
const bOpt = optimizeOrder(aNorm, bNorm);
127127
return [
128-
options.rawAngles ? aNorm : fixAnglesWith(fixAnglesSelf(aNorm), bNorm),
128+
options.rawAngles ? aNorm : fixAnglesWith(fixAnglesSelf(aNorm), bOpt),
129129
options.rawAngles ? bOpt : fixAnglesWith(fixAnglesSelf(bOpt), aNorm),
130130
];
131131
};

0 commit comments

Comments
 (0)