# Avoid flicker in flexible width agent panel's size when resizing workspace \(\#52519\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 086bece3f11a91679b046d9139d398c54059a0b2

Requested commit: 086bece3f11a91679b046d9139d398c54059a0b2

Commit: 086bece3f11a91679b046d9139d398c54059a0b2

Tree: 0de53bc442d2f915eef5043046199d68ca66f71b

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Avoid flicker in flexible width agent panel's size when resizing workspace (#52519)

This improves the rendering of flexible-width panels so that they do not
lag behind by one frame when tracking workspace size changes. I've also
simplified the code for panel size management in the workspace.

Release Notes:

- N/A
```

## Parents

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

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