Skip to content
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

Use sendToBack, bringToFront for multiple selections #2908

Merged
merged 15 commits into from
Apr 28, 2016
Merged

Use sendToBack, bringToFront for multiple selections #2908

merged 15 commits into from
Apr 28, 2016

Conversation

asturur
Copy link
Member

@asturur asturur commented Apr 26, 2016

This allows to pass an active group to sendToBack and bringToFront and move all the objects mantaining theyr stack order.

to see a visual effect during selection you should use canvas.preserveObjectStacking = true;

Some additional work is required for kitchensink demo on farbcjs.com and bringFoward and sendBackwards methods.

closes #1301

@asturur
Copy link
Member Author

asturur commented Apr 26, 2016

needs test

@asturur asturur merged commit 940db38 into fabricjs:master Apr 28, 2016
@asturur asturur deleted the stackForActiveGroup branch April 28, 2016 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make possible to use stack operation with multiple selections
1 participant