mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Fixed displaying raster image thangs in the thang editor.
This commit is contained in:
parent
b286b24f27
commit
f00fd66bed
1 changed files with 2 additions and 4 deletions
|
@ -241,10 +241,8 @@ module.exports = class ThangTypeEditView extends RootView
|
|||
@updatePortrait()
|
||||
|
||||
showRasterImage: ->
|
||||
sprite = new Lank(@thangType, @getLankOptions())
|
||||
@currentLank?.destroy()
|
||||
@currentLank = sprite
|
||||
@showSprite(sprite.sprite)
|
||||
lank = new Lank(@thangType, @getLankOptions())
|
||||
@showLank(lank)
|
||||
@updateScale()
|
||||
|
||||
onNewSpriteSheet: ->
|
||||
|
|
Loading…
Reference in a new issue