From 97330d19f35efad5ce0899d3fa91efa9888402f7 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Wed, 29 Jan 2014 13:10:07 -0800 Subject: [PATCH] Fix method name bug --- src/pane-container-view.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pane-container-view.coffee b/src/pane-container-view.coffee index 4e5b535b4..8f84be5be 100644 --- a/src/pane-container-view.coffee +++ b/src/pane-container-view.coffee @@ -131,10 +131,10 @@ class PaneContainerView extends View boxA = @boundingBoxForPane(paneA) boxB = @boundingBoxForPane(paneB) switch direction - when 'left' then @distance(box.left, boxA.right) - @distance(box.left, boxB.right) - when 'right' then @distance(box.right, boxA.left) - @distance(box.right, boxB.left) - when 'above' then @distance(box.top, boxA.bottom) - @distance(box.top, boxB.bottom) - when 'below' then @distance(box.bottom, boxA.top) - @distance(box.bottom, boxB.top) + when 'left' then distance(box.left, boxA.right) - distance(box.left, boxB.right) + when 'right' then distance(box.right, boxA.left) - distance(box.right, boxB.left) + when 'above' then distance(box.top, boxA.bottom) - distance(box.top, boxB.bottom) + when 'below' then distance(box.bottom, boxA.top) - distance(box.bottom, boxB.top) panes[0]