Remove usage of PaneContainerView::getActivePaneView

This commit is contained in:
Corey Johnson
2014-04-18 09:18:13 -07:00
parent 762559d2b7
commit da49751f24
4 changed files with 22 additions and 22 deletions

View File

@@ -91,7 +91,7 @@ class PaneContainerView extends View
@model.activePaneItem
getActiveView: ->
@getActivePane()?.activeView
@getActivePaneView()?.activeView
paneForUri: (uri) ->
@viewForModel(@model.paneForUri(uri))
@@ -120,8 +120,8 @@ class PaneContainerView extends View
y = pointB.y - pointA.y
Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2))
pane = @getActivePane()
box = @boundingBoxForPane(pane)
pane = @getActivePaneView()
panes = @getPaneViews()
.filter (otherPane) =>
otherBox = @boundingBoxForPane(otherPane)