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

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

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

Visibility: public

Requested revision: 764a2755e259eb090ade88fe328e302a7c53f457

Requested commit: 764a2755e259eb090ade88fe328e302a7c53f457

Commit: 764a2755e259eb090ade88fe328e302a7c53f457

Tree: b84045a3316543e9edb4ed37b0e4e83a3c81da83

Author: Kirill Bulatov

Committer: Kirill Bulatov

## Message

```
Fix multibuffer scroll by reordering z-index of its elements

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.

```

## Parents

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

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