Calling Ellipse.setSize will internally call updateDisplayOrigin to retain position

This commit is contained in:
Richard Davey 2024-07-16 20:25:26 +01:00
parent 05f3cf6ee2
commit a8724b88d8
No known key found for this signature in database

View file

@ -130,6 +130,8 @@ var Ellipse = new Class({
this.geom.setPosition(width / 2, height / 2);
this.geom.setSize(width, height);
this.updateDisplayOrigin();
return this.updateData();
},