Hopsan / hopsan

Hopsan is a free multi-domain system simulation tool developed at the division of Fluid and mechatronic systems at Linköping university.
Apache License 2.0
157 stars 43 forks source link

Fix wrong width and height of workspace canvas #2231

Closed robbr48 closed 3 months ago

robbr48 commented 3 months ago

Fixes wrong parameters in call to setSceneRect, the last two should be the width and height, not the coordinates of the lower right corner.

Resolves #2230.

Also fixes location of components when using adco command, and some issues with old models.