mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 22:13:32 -04:00
Merge pull request #423 from codecombat/master
Merged master into production
This commit is contained in:
commit
ff7e47c470
3 changed files with 4 additions and 3 deletions
|
@ -55,7 +55,7 @@ module.exports = class CoordinateDisplay extends createjs.Container
|
|||
@label.regY = height / 2
|
||||
sup = @camera.worldToSurface @lastPos
|
||||
@x = sup.x
|
||||
@y = sup.y
|
||||
@y = sup.y - 7
|
||||
@addChild @label
|
||||
@cache -width / 2, -height / 2, width, height
|
||||
Backbone.Mediator.publish 'surface:coordinates-shown', {}
|
||||
|
|
|
@ -66,8 +66,9 @@ module.exports = class HUDView extends View
|
|||
@clearSpeaker()
|
||||
|
||||
onNewWorld: (e) ->
|
||||
hadThang = @thang
|
||||
@thang = e.world.thangMap[@thang.id] if @thang
|
||||
if not @thang
|
||||
if hadThang and not @thang
|
||||
@setThang null, null
|
||||
|
||||
setThang: (thang, thangType) ->
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
"javascript-brunch": "> 1.0 < 1.8",
|
||||
"coffee-script-brunch": "https://github.com/brunch/coffee-script-brunch/tarball/master",
|
||||
"coffeelint-brunch": "> 1.0 < 1.8",
|
||||
"sass-brunch": "~1.8.0",
|
||||
"sass-brunch": "1.7.0",
|
||||
"css-brunch": "> 1.0 < 1.8",
|
||||
"jade-brunch": "> 1.0 < 1.8",
|
||||
"uglify-js-brunch": "~1.7.4",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue