-
-
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
sendBackwards not working when group is selected. #1189
Comments
like that
|
I can confirm this in 1.4.0 and 1.4.7 (current ./dist build). 1.4.0 example: http://jsfiddle.net/BL9VL/ To reproduce:
Layers remain positioned as-is. Upon deselection, the previously selected layers (group) are cloned with the correct z-index, but incorrectly positioned. The bounding box is then attached to the correctly positioned element. See this img: http://imgur.com/sKCsltH After that, things go wonky and you can sometimes get it to appear correctly. I tried canvas.render() after, but no dice. |
Yeah, z-index methods never worked with active groups |
Ok, then I guess the bug is that it doesn't abort when called on the active group? Is the suggested workaround stepping through the active group and sending them backward one by one, or just limiting users to one layer at a time? |
+1 👍 |
+1 👍 |
+1 |
this is fixed. #2908 |
sendBackwords on a group does not work. Even if you send the object while traversing over the group:
canvas.getActiveGroup().forEachObject(function(o) {
canvas.sendToBack(o);
});
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: