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

moveTo(Object, index) does not trigger history:append #18

Closed
cyruscuenca opened this issue Jul 30, 2020 · 0 comments
Closed

moveTo(Object, index) does not trigger history:append #18

cyruscuenca opened this issue Jul 30, 2020 · 0 comments

Comments

@cyruscuenca
Copy link

I've implemented a layer control feature with fabricJS. I also implemented fabric-history for the canvas. When switching layers with moveTo, there aren't any fired events. I think layer changes are pretty major events, and should probably be "undo-able".

Steps to reproduce:

  1. Create an fabricJS canvas
  2. Add fabric-history
  3. Add a few elements
  4. run moveTo on an object

And you won't be able to undo the layer change

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

No branches or pull requests

1 participant