Render panel in this test to make sure it can receive focus

This commit is contained in:
Julia
2023-12-14 17:11:00 -05:00
parent cd08d349a5
commit bbbdb9ff3e
4 changed files with 14 additions and 9 deletions
+1
View File
@@ -532,6 +532,7 @@ impl Workspace {
cx.notify()
})
.detach();
cx.on_blur_window(|this, cx| {
let focus_handle = this.focus_handle(cx);
cx.focus(&focus_handle);