freegroup / draw2d

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

draw2d.command.CommandRotate distorts objects #182

Open rudolphi opened 3 years ago

rudolphi commented 3 years ago

When updating the dimensions, width and height parameters are swapped. draw2d/src/command/CommandRotate.js:82 should be this.figure.setDimension(w, h)