# ui: Clean up scrollbar component \(\#35121\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e911364664a21bf2bb46e6b9156e338b92377423

Requested commit: e911364664a21bf2bb46e6b9156e338b92377423

Commit: e911364664a21bf2bb46e6b9156e338b92377423

Tree: d3b096da5509c90287762fc828f2d0203bd2c2cc

Author: Finn Evers

Committer: GitHub

## Message

```
ui: Clean up scrollbar component (#35121)

This PR does some minor cleanup to the scrollbar component. Namely, it
removes some clones, reduces the amount of unnecessary notifies and
ensures the scrollbar hover state is more accurately updated.

Release Notes:

- N/A
```

## Parents

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

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