# Fix toolbar not appearing for initial pane \(\#3512\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 80c8fd1f4c09ec049ae2b96fa0aa584e3d70fed2

Requested commit: 80c8fd1f4c09ec049ae2b96fa0aa584e3d70fed2

Commit: 80c8fd1f4c09ec049ae2b96fa0aa584e3d70fed2

Tree: aa4f7a48bfe567cacad7f3a2c0000c02b16a894c

Author: Marshall Bowers

Committer: GitHub

## Message

```
Fix toolbar not appearing for initial pane (#3512)

This PR fixes an issues where the toolbar would not appear for the
center pane when Zed2 initially loads.

We resolved this by adding a call to initialize the center pane when the
workspace is initialized

Due to changes in the way subscriptions work we can on longer observe an
event that is emitted in the same event cycle in which the subscription
is created.

Because of this we need to explicitly initialize the center pane, as it
won't get performed by the subscription.

Release Notes:

- N/A

---------

Co-authored-by: Antonio <antonio@zed.dev>
```

## Parents

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

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