You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click the "Show Angle" button. (it should read 0 degrees, and it does)
Select both text objects ("text1" and "text2") with your mouse.
Rotate the selected group 90 degrees to the right.
Click on the canvas to Un-Select the text box group.
Click the "Show Angle" button. (it should read 90 degrees, and it does)
Select both text objects ("text1" and "text2") with your mouse.
Rotate the selected group 90 degrees to the left (to return the text boxes back to a 0 degree angle).
Click on the canvas to Un-Select the text box group.
Click the "Show Angle" button. (it should read 0 degrees and instead reads -1.4033418597069752e-14 degrees)
From here on out all of the angles are off when rotating via a group - The angle of the objects show -1.4033418597069752e-14 degrees instead of 0 degrees when rotating objects as a group. Note: this code uses a snapThreshold: 45, and a snapAngle: 90 so I wouldn't think this would happen. When I rotate the objects individually the angles correct themselves. I have tried using the setCoords() with no luck. This issue doesn't happen when only rotating in a positive direction, only in a negative direction. Also, I have noticed that the object.left and object.top values change slightly as well after performing the steps above.
Expected Behavior
The angle of the objects should be 0 degrees.
Actual Behavior
The angle of the objects show -1.4033418597069752e-14 degrees instead of 0 degrees.
The text was updated successfully, but these errors were encountered:
Version
1.7.8
Test Case
http://jsfiddle.net/Outrageous/a50nrcv0/
Steps to reproduce
From here on out all of the angles are off when rotating via a group - The angle of the objects show -1.4033418597069752e-14 degrees instead of 0 degrees when rotating objects as a group. Note: this code uses a snapThreshold: 45, and a snapAngle: 90 so I wouldn't think this would happen. When I rotate the objects individually the angles correct themselves. I have tried using the setCoords() with no luck. This issue doesn't happen when only rotating in a positive direction, only in a negative direction. Also, I have noticed that the object.left and object.top values change slightly as well after performing the steps above.
Expected Behavior
The angle of the objects should be 0 degrees.
Actual Behavior
The angle of the objects show -1.4033418597069752e-14 degrees instead of 0 degrees.
The text was updated successfully, but these errors were encountered: