mirror of
https://github.com/atom/atom.git
synced 2026-02-06 20:55:33 -05:00
Open docks when activating their panes, but not when adding items
This commit is contained in:
@@ -729,10 +729,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
|
||||
|
||||
Reference in New Issue
Block a user