Tweaked the coordinate display position to be a bit more above the mouse.

This commit is contained in:
Scott Erickson 2014-02-25 12:38:47 -08:00
parent 356d1b55ed
commit eee434ab51

View file

@ -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', {}