Merge pull request #2105 from zed-industries/fix-focus-stealing-when-collaborating

Limit focus grabbing in followed pane
This commit is contained in:
Kay Simmons 2023-01-27 15:23:43 -08:00 committed by GitHub
commit a1308d20ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 22 deletions

View file

@ -5625,7 +5625,6 @@ async fn test_following(
.downcast::<Editor>()
.unwrap()
});
assert!(cx_b.read(|cx| editor_b2.is_focused(cx)));
assert_eq!(
cx_b.read(|cx| editor_b2.project_path(cx)),
Some((worktree_id, "2.txt").into())