From f463966a22c473984b9350be6201acac456f1f1b Mon Sep 17 00:00:00 2001 From: Scott Erickson <sderickson@gmail.com> Date: Mon, 19 May 2014 21:54:53 -0700 Subject: [PATCH] Fixed a bug with thangs not being properly scaled when first created sometimes. --- app/lib/surface/CocoSprite.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/surface/CocoSprite.coffee b/app/lib/surface/CocoSprite.coffee index eeb7c9987..c0ac25a09 100644 --- a/app/lib/surface/CocoSprite.coffee +++ b/app/lib/surface/CocoSprite.coffee @@ -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: ->