Closed labordep closed 11 months ago
Probably fix when i updated the Tree element in #110. Need testing
No it does not work
Group command memento should not create new BlElement but instead recycle previously destroyed ones.
Example: Create a group, change order of this group (on background). Use undo button until the group is remove, then use redo button until the group order is change.
An error occurs, because group Element is a new reference and it should not be.
New questions, how to test that no new reference are created by undo / redo memento ?
Add new test on test trait:
Create two elements and group them. The group contents have child but not in the same order that the selection.