Fixed minor issue with pane defocusing Co-Authored-By: kay@zed.dev

This commit is contained in:
Mikayla Maki 2022-09-27 17:05:21 -07:00
parent 9b32678b05
commit 1905ba55d4

View File

@ -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 {