Merge branch 'main' into project-panel2
This commit is contained in:
commit
b893ac2a02
65 changed files with 9847 additions and 8976 deletions
|
@ -56,7 +56,7 @@ pub fn initialize_workspace(
|
|||
) -> Task<Result<()>> {
|
||||
cx.spawn(|mut cx| async move {
|
||||
workspace_handle.update(&mut cx, |workspace, cx| {
|
||||
let workspace_handle = cx.view();
|
||||
let workspace_handle = cx.view().clone();
|
||||
cx.subscribe(&workspace_handle, {
|
||||
move |workspace, _, event, cx| {
|
||||
if let workspace::Event::PaneAdded(pane) = event {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue