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

Undo/Redo button cause application error #53

Closed
vshakitskiy opened this issue Jan 12, 2024 · 3 comments · Fixed by #64
Closed

Undo/Redo button cause application error #53

vshakitskiy opened this issue Jan 12, 2024 · 3 comments · Fixed by #64
Labels

Comments

@vshakitskiy
Copy link
Contributor

vshakitskiy commented Jan 12, 2024

Making undo/redo using Ctrl + z/Z works fine. But, using undo button on the left pannel cause application error. Here's the console:

изображение

@vshakitskiy vshakitskiy changed the title Undo button cause application error Undo/Redo button cause application error Jan 12, 2024
@QuiiBz QuiiBz added the bug label Jan 13, 2024
@QuiiBz
Copy link
Owner

QuiiBz commented Jan 13, 2024

Yeah I've seen that one, it's so strange. Works perfectly fine with ctrl+z/Z but doesn't on the buttons 🤯

@vshakitskiy
Copy link
Contributor Author

If we place undo/redo functions inside another function, it won't cause an error:

изображение

@vshakitskiy
Copy link
Contributor Author

Fixed in #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants