Skip to content

Commit cf270fb

Browse files
committed
prevent spinny arrow when holding alt
1 parent 7f28a07 commit cf270fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/helper/tools/arrow-tool.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ class ArrowTool extends paper.Tool {
272272
this.tri.position = this.arrowPathLockedState;
273273
}
274274

275-
this.tri.rotate(pathOptions.angle, event.downPoint);
275+
if (this.canModifyState) {
276+
this.tri.rotate(pathOptions.angle, event.downPoint);
277+
}
276278

277279
// add guide text
278280
// remove first

0 commit comments

Comments
 (0)