Nested Sprites - Stage scaling adjustment

pull/3/merge
jmoenig 2013-08-09 12:17:27 +02:00
rodzic 8a0efbd8da
commit 91f52228f2
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -3643,7 +3643,10 @@ StageMorph.prototype.setScale = function (number) {
this.children.forEach(function (morph) {
relativePos = morph.position().subtract(pos);
morph.drawNew();
morph.setPosition(relativePos.multiplyBy(delta).add(pos));
morph.setPosition(
relativePos.multiplyBy(delta).add(pos),
true // just me (for nested sprites)
);
if (morph instanceof SpriteMorph) {
bubble = morph.talkBubble();
if (bubble) {