From 34cb5d60124b5fa73597f7231d94e50e2764d025 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Thu, 28 Aug 2014 15:21:10 -0600 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20implement=20::isActive=20in=20t?= =?UTF-8?q?erms=20of=20the=20theorist=20model=20behavior?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pane.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pane.coffee b/src/pane.coffee index 8d3226b41..f8e0fa391 100644 --- a/src/pane.coffee +++ b/src/pane.coffee @@ -117,7 +117,8 @@ class Pane extends Model onWillDestroyItem: (fn) -> @emitter.on 'will-destroy-item', fn - isActive: -> @active + isActive: -> + @container?.getActivePane() is this # Called by the view layer to indicate that the pane has gained focus. focus: ->