# workspace: Persist centered layout across project switches \(\#32299\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 106b98fbcbc606e385df9a218db773b5e84a21f9

Requested commit: 106b98fbcbc606e385df9a218db773b5e84a21f9

Commit: 106b98fbcbc606e385df9a218db773b5e84a21f9

Tree: de8ae63754a6f8afa02f5169bb1e03449acee815

Author: vipex

Committer: GitHub

## Message

```
workspace: Persist centered layout across project switches (#32299)

Closes #32297

Changes:

- Added restoration of `workspace.centered_layout` from
`serialized.centered_layout`
- Ensures the centered layout state persists across project switches

Release Notes:

- Fixed centered layout not persisting when switching between projects
```

## Parents

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

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