mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 22:42:27 -05:00
Update clone's scale to match renderer update
This commit is contained in:
parent
a6ad34f002
commit
67c3ceff86
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ Clone.prototype.setSize = function (size) {
|
||||||
// Keep size between 5% and 535%.
|
// Keep size between 5% and 535%.
|
||||||
this.size = MathUtil.clamp(size, 5, 535);
|
this.size = MathUtil.clamp(size, 5, 535);
|
||||||
self.renderer.updateDrawableProperties(this.drawableID, {
|
self.renderer.updateDrawableProperties(this.drawableID, {
|
||||||
scale: this.size
|
scale: [this.size, this.size]
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue