migrated rotation center setting

pull/95/head
jmoenig 2020-03-10 18:27:39 +01:00
rodzic 93e27404b2
commit 540af4da51
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -5674,7 +5674,9 @@ SpriteMorph.prototype.setRotationCenter = function (absoluteCoordinate) {
).divideBy(this.scale).rotateBy(radians(90 - this.heading));
normal = this.costume.rotationCenter.add(new Point(delta.x, -delta.y));
this.costume.rotationCenter = normal;
this.drawNew();
this.changed();
this.fixLayout();
this.changed();
};
SpriteMorph.prototype.moveRotationCenter = function () {