mirror of
https://github.com/atom/atom.git
synced 2026-02-16 09:35:54 -05:00
Merge pull request #11057 from atom/mkt-improve-pane-add-item-options
Move Pane::addItem 'pending' option to options object
(cherry picked from commit 53a9c22554)
This commit is contained in:
@@ -509,7 +509,7 @@ class Workspace extends Model
|
||||
return item if pane.isDestroyed()
|
||||
|
||||
@itemOpened(item)
|
||||
pane.activateItem(item, options.pending) if activateItem
|
||||
pane.activateItem(item, {pending: options.pending}) if activateItem
|
||||
pane.activate() if activatePane
|
||||
|
||||
initialLine = initialColumn = 0
|
||||
|
||||
Reference in New Issue
Block a user