You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the History Plugin, it realised the vertices event are received by the beforeAddCommand but they are not actually handled by the plugin. Maybe it's a limitation of the plugin which would be sad, but maybe it's just a mistake.
Currently when we add/remove vertices they are ignored by the undo/redo feature.
PS: the function beforeAddCommand sometimes receive one argument and sometimes two, but not the same order, which makes it harder to use and I didn't understand why.
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Describe the bug
Hey,
When using the History Plugin, it realised the vertices event are received by the
beforeAddCommand
but they are not actually handled by the plugin. Maybe it's a limitation of the plugin which would be sad, but maybe it's just a mistake.Currently when we add/remove vertices they are ignored by the undo/redo feature.
PS: the function
beforeAddCommand
sometimes receive one argument and sometimes two, but not the same order, which makes it harder to use and I didn't understand why.Your Example Website or App
https://codesandbox.io/s/new-sky-n37gp1?file=/src/app.tsx
Steps to Reproduce the Bug or Issue
Expected behavior
The vertice add/remove should be part of the stack.
Screenshots or Videos
Screen.Recording.2023-03-01.at.14.07.27.mov
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: