# project panel: Respect y offset of a click-and-drag on a scrollbar \(\#13506\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6c0cb9eaa3450a1d819123cbc4dd6b3b2c4c971b

Requested commit: 6c0cb9eaa3450a1d819123cbc4dd6b3b2c4c971b

Commit: 6c0cb9eaa3450a1d819123cbc4dd6b3b2c4c971b

Tree: b1306945ba9f080db8332c1a84f9e20c2a1b83da

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
project panel: Respect y offset of a click-and-drag on a scrollbar (#13506)

Previously we've always snapped the scrollbar to the cursor position,
without regard for the position of the thumb.



Release Notes:

- N/A
```

## Parents

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

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