     @scale = scaleValue
     @$el.find('.scale-label').text " #{fixed}x "
     if @currentLank
-      @currentLank.scaleFactorX = @currentLank.scaleFactorY = scaleValue
-      @currentLank.updateScale()
+      @currentLank.sprite.scaleX = @currentLank.sprite.baseScaleX * scaleValue
+      @currentLank.sprite.scaleY = @currentLank.sprite.baseScaleY * scaleValue
     else if @currentObject?
       @currentObject.scaleX = @currentObject.scaleY = scaleValue / resValue
     @updateGrid()

    canvas = @$el.find('#canvas')
    @stage = new createjs.Stage(canvas[0])
    @layerAdapter = new LayerAdapter({name:'Default', webGL: true})
    @stage.addChild(@layerAdapter.container)
    @camera?.destroy()
    @camera = new Camera canvas

    @currentLank?.destroy()
    @currentLank = sprite
    @showSprite(sprite.sprite)
    @updateScale()
    
  onNewSpriteSheet: ->
    $('#spritesheets').empty()
    for image in @layerAdapter.spriteSheet._images
      $('#spritesheets').append(image)
    @updateScale()

  showAnimation: (animationName) ->
