mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-29 07:24:08 -04:00
Fixed rotation not being updated after a new SpriteSheet is built.
This commit is contained in:
parent
5fe9a02c06
commit
f77f229b09
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ module.exports = class WebGLLayer extends CocoClass
|
||||||
cocoSprite.options.resolutionFactor = @resolutionFactor
|
cocoSprite.options.resolutionFactor = @resolutionFactor
|
||||||
cocoSprite.updateBaseScale()
|
cocoSprite.updateBaseScale()
|
||||||
cocoSprite.updateScale()
|
cocoSprite.updateScale()
|
||||||
|
cocoSprite.updateRotation()
|
||||||
@trigger 'new-spritesheet'
|
@trigger 'new-spritesheet'
|
||||||
|
|
||||||
renderContainers: (thangType, colorConfig, actionNames, spriteSheetBuilder) ->
|
renderContainers: (thangType, colorConfig, actionNames, spriteSheetBuilder) ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue