-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set OriginX and OriginY makes object Unselectable #4677
Comments
I am a bit Confused about this |
Changing the origin of an object impacts it's position. Because of that it seems like the object is unselectable, but in reality it is selectable, but you got to click on another position then expected. To fix this, you can:
Also, i saw that you misspelled 'right' and 'bottom' in a few places, that's breaking as well Example:
|
I reopen the issue, At Andrea's request |
so the rotation could change, if centeredRotation would be set to false. |
My changes made it work though, so does this mean it's only a bug if the position isn't changed before setCoords() ? |
Well you change position top and left, and call setCoords. |
in this key i use for caching, originX and originY are missing. |
Thanks @asturur, your fix works fine! |
Version
2.0
Test Case
https://jsfiddle.net/samael205/j6w7jkgz/
Steps to reproduce
Clic on the square of checkboxes to change the rotation Origin
Expected Behavior
The rotation Origin changes, and we can manipulate he object correctly
Actual Behavior
The object cant be manipulated when we change the rotation Origin
The text was updated successfully, but these errors were encountered: