-
-
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
ActiveGroup has incorrect layering #2118
Comments
No. to do it different enable cancas.preserveObjectStacking = true. it will then render fine. |
@asturur ah I was just editing my post as I discovered the same. That said, the fix you suggested introduces a new bug. It render's the orange rectangles in the top left. Fiddle: https://jsfiddle.net/knr61L12/ |
@kangax is gonna kill me. |
@asturur haha, hope not. I am available to help on this, just trying to think of what the correct fix is. Issue: preserveObjectStacking is drawing the objects which are grouped, but its not going through transform() since the group's render() function is not called, correct? |
i know what is wrong, i m gonna put it back |
@asturur awesome thanks! |
PR #2120 fix it. |
Fiddle:
https://jsfiddle.net/2zs3wy56/
If you select the orange rectangle on the left, and then shift + click orange rectangle on the right, it will properly create an active group of two, but now the third red rectangle is behind both.
This is probably because the active group is rendered in the upper canvas right?
The text was updated successfully, but these errors were encountered: