mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 06:07:13 +08:00
Update Transformer.js
This commit is contained in:
parent
bb72eccbe7
commit
9a20580fe4
@ -531,7 +531,7 @@
|
||||
currentSnap = i;
|
||||
}
|
||||
}
|
||||
if (snaps.length > 0 && currentSnap >=0) {
|
||||
if (snaps.length > 0 && currentSnap >= 0) {
|
||||
angle = Konva.getAngle(snaps[currentSnap]);
|
||||
newRotation = Konva.Util._radToDeg(angle);
|
||||
newAlpha = Konva.Util._degToRad(newRotation);
|
||||
|
Loading…
Reference in New Issue
Block a user