Always focus pane element when pane model is activated

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo 2014-11-26 17:19:59 -07:00
parent b341749d54
commit ffbcddf063

View File

@ -54,7 +54,7 @@ class PaneElement extends HTMLElement
@__spacePenView.setModel(@model)
activated: ->
@focus() unless @hasFocus()
@focus()
activeStatusChanged: (active) ->
if active