Fixed a bug with thangs not being properly scaled when first created sometimes.

This commit is contained in:
Scott Erickson 2014-05-19 21:54:53 -07:00
parent 6c3ff16bed
commit f463966a22

View file

@ -98,6 +98,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
finishSetup: ->
return unless @thang
@updateBaseScale()
@scaleFactor = @thang.scaleFactor if @thang?.scaleFactor
@update true # Reflect initial scale and other state
setUpRasterImage: ->