-
-
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
fix(ActiveSelection): 🔃 preserveObjectStacking
📌
#7878
Conversation
in case object is a collection
Code Coverage Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated from master
Code Coverage Summary
|
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. |
Code Coverage Summary
|
Code Coverage Summary
|
Code Coverage Summary
|
Code Coverage Summary
|
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. |
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. |
@@ -98,6 +98,7 @@ | |||
* @param {fabric.Object[]} targets | |||
*/ | |||
_onAfterObjectsChange: function (type, targets) { | |||
this.callSuper('_onAfterObjectsChange', type, targets); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apart for some insignificant tests in group this PR is ported to #8665
closes #6840
closes #4529
First merge #7859, update from master and then merge thisdiff
We should consider a use case that we want a shift click to disregard object stacking.
For now the dev can do one of the following:
object:added
event (we need to keep a constant ref to ActiveSelection for events) - DONE by fix(ActiveSelection): 🚀 multiple nested selection 🗂️ #7882_onAfterObjectsChange
OR listen toselection:updated
and move the object to the front of the stackTODO