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