mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Merge pull request #2460 from zed-industries/show-dock-on-activate
Fix bug with terminal button
This commit is contained in:
commit
c7fcc031eb
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user