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

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

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

Visibility: public

Requested revision: f83d156d7bf09bbd65ca246f57288138d78cc311

Requested commit: f83d156d7bf09bbd65ca246f57288138d78cc311

Commit: f83d156d7bf09bbd65ca246f57288138d78cc311

Tree: d1d78545abf7c4dc28b1e9688212566e1361ddd2

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Fix clicking on "+" button not working when a tab was underneath (#3755)

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.

Release Notes:

- N/A
```

## Parents

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

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

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