Language Selector 2 working!

This commit is contained in:
Conrad Irwin
2023-12-01 21:23:20 -07:00
parent 2de6758443
commit 6a5b5f022d
8 changed files with 131 additions and 98 deletions
+4 -1
View File
@@ -2164,7 +2164,10 @@ impl Workspace {
cx: &mut ViewContext<Self>,
) {
match event {
pane::Event::AddItem { item } => item.added_to_pane(self, pane, cx),
pane::Event::AddItem { item } => {
self.handle_pane_focused(pane.clone(), cx);
item.added_to_pane(self, pane, cx);
}
pane::Event::Split(direction) => {
self.split_and_clone(pane, *direction, cx);
}