# Fix regression in closing project diff \(\#43964\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a675eb1667703f459db2a670407d5ca3e5799f76)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a675eb1667703f459db2a670407d5ca3e5799f76

Requested commit: a675eb1667703f459db2a670407d5ca3e5799f76

Commit: a675eb1667703f459db2a670407d5ca3e5799f76

Tree: 3bf20241713cde4e96358073402b8e7f4b2a2781

Author: Cole Miller

Committer: GitHub

## Message

```
Fix regression in closing project diff (#43964)

Follow-up to #43586--when the diff is not split, just render the primary
editor. Otherwise the child `Pane` intercepts `CloseActiveItem`. (This
is still a bug for the actual split diff, but just fixing the
user-visible regression for now.)

Release Notes:

- N/A
```

## Parents

- [b27ad98520a74c1d967bfa92d9eae29d62d8238c](https://git.cafe/gitcafe/zed/commit/b27ad98520a74c1d967bfa92d9eae29d62d8238c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a675eb1667703f459db2a670407d5ca3e5799f76?format=markdown)
