Update clone's scale to match renderer update

This commit is contained in:
Tim Mickel 2016-08-08 16:47:52 -04:00
parent a6ad34f002
commit 67c3ceff86

View file

@ -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]
}); });
}; };