# ui: Fix scrollbar mouse down handler \(\#35131\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 08402e25e0cf0cdc3c8a6fd487aebe501274204f

Requested commit: 08402e25e0cf0cdc3c8a6fd487aebe501274204f

Commit: 08402e25e0cf0cdc3c8a6fd487aebe501274204f

Tree: accef53c779c6d0a230b2dbe7be567b2d114847b

Author: Finn Evers

Committer: GitHub

## Message

```
ui: Fix scrollbar mouse down handler (#35131)

Follow-up to https://github.com/zed-industries/zed/pull/35121 - in the
process of adding the check for the left mouse button to the guard
(which was practically already there before, just not in the mouse-down
listener), I accidentally removed the negation for the bounds check.
This PR fixes this.

Release Notes:

- N/A
```

## Parents

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

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