This commit is contained in:
Nick Winter 2014-03-12 12:45:46 -07:00
commit 1ca9b2d3e5
3 changed files with 3 additions and 3 deletions

View file

@ -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()

View file

@ -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

View file

@ -128,7 +128,7 @@ module.exports = class PlayLevelView extends View
onLevelLoaderProgressChanged: ->
return if @seenDocs
return unless showFrequency = @levelLoader.level.get('showGuide')
return unless showFrequency = @levelLoader.level.get('showsGuide')
session = @levelLoader.session
diff = new Date().getTime() - new Date(session.get('created')).getTime()
return if showFrequency is 'first-time' and diff > (5 * 60 * 1000)