Actually fix the method name bug

For real this time
This commit is contained in:
probablycorey
2014-01-29 13:20:54 -08:00
parent 97330d19f3
commit 9176e12f58

View File

@@ -112,7 +112,7 @@ class PaneContainerView extends View
@nearestPaneInDirection('right')?.focus()
nearestPaneInDirection: (direction) ->
distance: (pointA, pointB) ->
distance = (pointA, pointB) ->
x = pointB.x - pointA.x
y = pointB.y - pointA.y
Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2))