mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-07 17:26:56 +00:00
fmt
This commit is contained in:
parent
be881369fa
commit
550aa2d6bd
1 changed files with 2 additions and 4 deletions
|
@ -225,11 +225,9 @@ impl TerminalPanel {
|
|||
pane::Event::AddItem { item } => {
|
||||
if let Some(workspace) = self.workspace.upgrade(cx) {
|
||||
let pane = self.pane.clone();
|
||||
workspace.update(cx, |workspace, cx| {
|
||||
item.added_to_pane(workspace,pane, cx)
|
||||
})
|
||||
workspace.update(cx, |workspace, cx| item.added_to_pane(workspace, pane, cx))
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
_ => {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue