# Add bound checks for resizing right dock \(\#32246\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 54b4587f9a21441f5e871e42057d7e02528531c5

Requested commit: 54b4587f9a21441f5e871e42057d7e02528531c5

Commit: 54b4587f9a21441f5e871e42057d7e02528531c5

Tree: 75cb26f23a893018a491d97ea11dadba207c4d33

Author: smaster

Committer: GitHub

## Message

```
Add bound checks for resizing right dock (#32246)

Closes #30293


[Before](https://github.com/user-attachments/assets/0b95e317-391a-4d90-ba78-ed3d4f10871d)
|
[After](https://github.com/user-attachments/assets/23002a73-103c-4a4f-a7a1-70950372c9d9)

Release Notes:

- Fixed right panel expanding in backwards, when dragged out of its
intended bounds, by adding a bounds check to ensure its size never gets
to high.
```

## Parents

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

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