mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
Fixed minor issue with pane defocusing Co-Authored-By: kay@zed.dev
This commit is contained in:
parent
9b32678b05
commit
1905ba55d4
1 changed files with 1 additions and 0 deletions
|
@ -1493,6 +1493,7 @@ impl View for Pane {
|
|||
.last_focused_view
|
||||
.as_ref()
|
||||
.and_then(|handle| handle.upgrade(cx))
|
||||
.filter(|handle| handle.id() != self.tab_bar_context_menu.id())
|
||||
{
|
||||
cx.focus(last_focused_view);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue