Merge pull request #14136 from atom/mb-ns-dont-auto-open-dock-when-adding-item

Open docks when activating their panes, but not when adding items
This commit is contained in:
Max Brunsfeld
2017-04-05 12:44:21 -07:00
committed by GitHub
5 changed files with 36 additions and 12 deletions

View File

@@ -752,10 +752,6 @@ module.exports = class Workspace extends Model {
if (options.activatePane !== false) {
pane.activate()
if (!container) {
container = this.getPaneContainers().find(container => container.getPanes().includes(pane))
}
container.activate()
}
let initialColumn = 0