# Fix clicking on "\+" button not working when a tab was underneath · gitcafe/zed

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

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

Visibility: public

Requested revision: b0ee7b2fb99a331ab9c1d4a15b231f4064be5692

Requested commit: b0ee7b2fb99a331ab9c1d4a15b231f4064be5692

Commit: b0ee7b2fb99a331ab9c1d4a15b231f4064be5692

Tree: 3ac33296efe51425d554fb0cff8498bde700caaf

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Fix clicking on "+" button not working when a tab was underneath

We were mistakenly pushing an opaque layer without intersecting it
with the content mask. Also, we were pushing two opaque layers for
the same div unnecessarily.

```

## Parents

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

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