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

Multiple canvases: managing history undo and redo #56

Open
charlesmudy opened this issue Jan 27, 2024 · 0 comments
Open

Multiple canvases: managing history undo and redo #56

charlesmudy opened this issue Jan 27, 2024 · 0 comments

Comments

@charlesmudy
Copy link

charlesmudy commented Jan 27, 2024

Hi,

So I have been using fabric-history and works greatly for 1 canvas. Now we have implemented multiple canvases stored in an array and all functions works well except the history, it seem to only work on 1 canvas, so when I loop through canvases, it will do multiple undo which is not what I want.

My question is how can I have multiple canvases but the history undo goes back 1 by 1

I feel the whole canvases should be stored in history instead of per canvas but not sure how to implement this.

@alimozdemir

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