Merge pull request #2460 from zed-industries/show-dock-on-activate

Fix bug with terminal button
This commit is contained in:
Mikayla Maki 2023-05-10 09:08:45 -07:00 committed by GitHub
commit c7fcc031eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1554,6 +1554,9 @@ impl Workspace {
.map(|ix| (pane.clone(), ix))
});
if let Some((pane, ix)) = result {
if &pane == self.dock_pane() {
Dock::show(self, false, cx);
}
pane.update(cx, |pane, cx| pane.activate_item(ix, true, true, cx));
true
} else {