freegroup / draw2d

Create Visio like drawings, diagrams or workflows with JavaScript and HTML5
https://freegroup.github.io/draw2d/#/examples
MIT License
734 stars 226 forks source link

Have problem with undo/redo #245

Open ivanatorr opened 11 months ago

ivanatorr commented 11 months ago

When deleting a complex figure, FlexGridLayout, which consists of a header, subheading and fields with some values ​​and followed by undo, the figure is returned with the wrong width and height values, and each element in this figure, I looked, in commandStack.undostack there are already incorrect width values and heights, what could be the reason and what are the possible solutions to this problem, I will be very grateful for the help.