mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Fixed minor issue with pane defocusing Co-Authored-By: kay@zed.dev
This commit is contained in:
parent
9b32678b05
commit
1905ba55d4
@ -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 New Issue
Block a user