Skip to content

Commit 25fd485

Browse files
committed
no rotation for 360 and -360 angles
1 parent 22d1260 commit 25fd485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/drawing/symbol_defs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ function skipAngle(angle) {
727727
}
728728

729729
function align(angle, path) {
730-
if(!angle) return path;
730+
if(angle % 360 === 0) return path;
731731

732732
var t = angle / 180 * PI;
733733

0 commit comments

Comments
 (0)