mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Actually fix the method name bug
For real this time
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user