mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
💄
This commit is contained in:
@@ -97,11 +97,8 @@ class RootView extends View
|
||||
changeFocus = options.changeFocus ? true
|
||||
path = project.resolve(path) if path?
|
||||
if activePane = @getActivePane()
|
||||
if editSession = activePane.itemForUri(path)
|
||||
activePane.showItem(editSession)
|
||||
else
|
||||
editSession = project.buildEditSession(path)
|
||||
activePane.showItem(editSession)
|
||||
editSession = activePane.itemForUri(path) ? project.buildEditSession(path)
|
||||
activePane.showItem(editSession)
|
||||
else
|
||||
editSession = project.buildEditSession(path)
|
||||
activePane = new Pane(editSession)
|
||||
|
||||
Reference in New Issue
Block a user