-
-
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
discardActiveObject
is not prevent moving of object
#7953
Comments
You are right. |
Thank you for temporary solution. What you think about introduce method like At this time i have not cases when current behavior is necessary, but it's potentially useful. Or we can add option to |
I thought of that as well. But wasn't sure it's useful. Perhaps exposing |
We can do that and have the dev listen to |
I agree that About cases when users may need to keep transforming i think about something like this:
Developer want to keep transforming, to avoid confuse a user. I think we should save the ability to deselect object, but to don't stop transforming. But we should think how to implement it and update documentation to clarify how it work |
The case you presented should be handled IMO by adding and removibg objects
to active selection
בתאריך יום ו׳, 20 במאי 2022, 18:05, מאת vitonsky ***@***.***
…:
I agree that discardActiveObject by default mean "deselect all objects
and stop its transforming". This is what i expect when call this method.
About cases when users may need to keep transforming i think about
something like this:
- participant selected 3 objects and start move it
- one of its objects been locked by other participant in user
application
- user want to implement logic to locked objects will deselect, but
want to keep transforming and by release object - rollback transformation
Developer want to keep transforming, to avoid confuse a user.
I think we should save the ability to deselect object, but to don't stop
transforming. But we should think how to implement it and update
documentation to clarify how it work
—
Reply to this email directly, view it on GitHub
<#7953 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIGAW4LMLA3D7QIYCKEQLWTVK6S45ANCNFSM5WO4SLYA>
.
You are receiving this because you commented.Message ID: <fabricjs/fabric.
***@***.***>
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
When i start move object with mouse and call
discardActiveObject
, the active object are reset, but i still move object.I can't stop moving object programmatically.
Version
5.0.0
Test Case
Browser: https://jsfiddle.net/aLuvj3hp/
Steps To Reproduce
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: