Merge remote-tracking branch 'origin/master'

This commit is contained in:
Scott Erickson 2014-03-06 17:27:01 -08:00
commit 34278a8648

View file

@ -376,7 +376,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
scale *= @options.resolutionFactor if prop is 'registration' scale *= @options.resolutionFactor if prop is 'registration'
pos.x *= scale pos.x *= scale
pos.y *= scale pos.y *= scale
if @thang if @thang and prop isnt 'registration'
scaleFactor = @thang.scaleFactor ? 1 scaleFactor = @thang.scaleFactor ? 1
pos.x *= @thang.scaleFactorX ? scaleFactor pos.x *= @thang.scaleFactorX ? scaleFactor
pos.y *= @thang.scaleFactorY ? scaleFactor pos.y *= @thang.scaleFactorY ? scaleFactor