We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae142b8 commit ddb01a5Copy full SHA for ddb01a5
src/icons/DirectionIcon.tsx
@@ -61,7 +61,7 @@ export const DirectionIcon = memo(function DirectionIcon(
61
// Wrap around: use the shorter path
62
shortestDiff = diffRotate > 0 ? diffRotate - 360 : diffRotate + 360;
63
}
64
- // When flipped, rotation direction is inverted (scaleY flips the coordinate system)
+ // Apply the shortest rotation path
65
setRotate((prev) => prev - shortestDiff);
66
67
0 commit comments