mirror of
https://github.com/atom/atom.git
synced 2026-02-18 02:21:43 -05:00
Explicitly make pane active
Previously it relied on focus firing an event which will not occur when not on the DOM.
This commit is contained in:
@@ -412,6 +412,7 @@ class Pane extends View
|
||||
when 'before' then parent.insertChildBefore(this, newPane)
|
||||
when 'after' then parent.insertChildAfter(this, newPane)
|
||||
@getContainer().adjustPaneDimensions()
|
||||
newPane.makeActive()
|
||||
newPane.focus()
|
||||
newPane
|
||||
|
||||
|
||||
Reference in New Issue
Block a user