# Fix multibuffer scroll by reordering z-index of its elements \(\#3792\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a1bd636c18326bd8814ad9f625fd64b5332023ba

Requested commit: a1bd636c18326bd8814ad9f625fd64b5332023ba

Commit: a1bd636c18326bd8814ad9f625fd64b5332023ba

Tree: b84045a3316543e9edb4ed37b0e4e83a3c81da83

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix multibuffer scroll by reordering z-index of its elements (#3792)

1. Blocks (with their headers) and mouse listeners should be drawn
together otherwise either starts to loose mouse events.

2. Scrollbar should be above all to match zed1 look and avoid buffer
headers popping slightly to the right of the scrollbar.

Release Notes:

- N/A
```

## Parents

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

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

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