File tree 1 file changed +9
-7
lines changed
CodeEdit/Features/Documents/Controllers
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,15 @@ final class CodeEditSplitViewController: NSSplitViewController {
69
69
addSplitViewItem ( navigator)
70
70
71
71
let workspaceView = SettingsInjector {
72
- WorkspaceView ( )
73
- . environmentObject ( workspace)
74
- . environmentObject ( editorManager)
75
- . environmentObject ( statusBarViewModel)
76
- . environmentObject ( utilityAreaModel)
77
- . environmentObject ( taskManager)
78
- . environmentObject ( workspace. activityManager)
72
+ WindowObserver ( window: WindowBox ( value: windowRef) ) {
73
+ WorkspaceView ( )
74
+ . environmentObject ( workspace)
75
+ . environmentObject ( editorManager)
76
+ . environmentObject ( statusBarViewModel)
77
+ . environmentObject ( utilityAreaModel)
78
+ . environmentObject ( taskManager)
79
+ . environmentObject ( workspace. activityManager)
80
+ }
79
81
}
80
82
81
83
let mainContent = NSSplitViewItem ( viewController: NSHostingController ( rootView: workspaceView) )
You can’t perform that action at this time.
0 commit comments