mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Fixed Thang Editor scaling.
This commit is contained in:
parent
cfeb6c34a4
commit
f2f3817e10
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ module.exports = class ThangTypeEditView extends View
|
|||
@scale = scaleValue
|
||||
@$el.find('.scale-label').text " #{fixed}x "
|
||||
if @currentSprite
|
||||
@currentSprite.scaleFactor = scaleValue
|
||||
@currentSprite.scaleFactorX = @currentSprite.scaleFactorY = scaleValue
|
||||
@currentSprite.updateScale()
|
||||
else if @currentObject?
|
||||
@currentObject.scaleX = @currentObject.scaleY = scaleValue / resValue
|
||||
|
|
Loading…
Reference in a new issue