mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Fixed loading marks so they are positioned correctly when they load and the world is paused.
This commit is contained in:
parent
7e8f74f385
commit
853a80dd23
2 changed files with 2 additions and 2 deletions
app
|
@ -172,7 +172,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
|
|||
return if @stillLoading
|
||||
@updatePosition()
|
||||
if frameChanged
|
||||
@updateScale()
|
||||
@updateScale() # must happen before rotation
|
||||
@updateAlpha()
|
||||
@updateRotation()
|
||||
@updateAction()
|
||||
|
|
|
@ -270,7 +270,7 @@ module.exports = class ThangTypeEditView extends View
|
|||
@$el.find('.rotation-label').text " #{value}° "
|
||||
if @currentSprite
|
||||
@currentSprite.rotation = value
|
||||
@currentSprite.update()
|
||||
@currentSprite.update(true)
|
||||
|
||||
updateScale: =>
|
||||
value = (@scaleSlider.slider('value') + 1) / 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue