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 bugs #118

Merged
merged 6 commits into from
Feb 10, 2025
Merged

Undo redo bugs #118

merged 6 commits into from
Feb 10, 2025

Conversation

Manuel-Pol
Copy link
Collaborator

No description provided.

layers takes the user back to the layer.

Main Advantages:
- Now devices don’t appear in layer where are not suposed to appear.
- Undo/Redo moves are more ex
plicit for user
Bug:
- When redoing a RemoveDevice move the deviceData store for the redo move was passed to the datagraph as the graphNode of the device. Consequently, as the RemoveDeviceMove object and the datagraph shared the same node reference, when the datagraph modify the node it was also modify in the RemoveDeviceMove object, which lead to inconsistencies in it state.
@Manuel-Pol Manuel-Pol marked this pull request as draft February 8, 2025 22:04
@Manuel-Pol Manuel-Pol marked this pull request as ready for review February 10, 2025 00:33
@pgallino pgallino merged commit 8e1de32 into main Feb 10, 2025
3 checks passed
@pgallino pgallino deleted the undo-redo-bugs branch February 10, 2025 18:40
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.

2 participants