mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Replicate pane splitting and removal
We're using Peer.js to stream changes to shared telepath documents between participants. We're replacing the rootView of joiners in a somewhat hacky way, but replication of pane splits and items is fully tested.
This commit is contained in:
committed by
Nathan Sobo
parent
8a7c57994d
commit
0851b4d011
@@ -123,6 +123,7 @@ window.deserializeEditorWindow = ->
|
||||
atom.packageStates = windowState.getObject('packageStates') ? {}
|
||||
window.project = new Project(initialPath)
|
||||
window.rootView = deserialize(windowState.get('rootView')) ? new RootView
|
||||
windowState.set('rootView', window.rootView.serialize())
|
||||
|
||||
$(rootViewParentSelector).append(rootView)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user