Forward focusNext/PreviousPane to the active pane container

This commit is contained in:
Nathan Sobo 2017-04-06 15:50:45 -06:00 committed by Max Brunsfeld
parent 9e1f9c0dd9
commit 68f5448fbe

View File

@ -1235,12 +1235,12 @@ module.exports = class Workspace extends Model {
// Extended: Make the next pane active.
activateNextPane () {
return this.paneContainer.activateNextPane()
return this.getActivePaneContainer().activateNextPane()
}
// Extended: Make the previous pane active.
activatePreviousPane () {
return this.paneContainer.activatePreviousPane()
return this.getActivePaneContainer().activatePreviousPane()
}
// Extended: Get the first {Pane} with an item for the given URI.