# Allow transparent divs to be considered "top layers" · gitcafe/zed

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

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

Visibility: public

Requested revision: 2979eb9da96c2b5940e94af863dd8fa966518aeb

Requested commit: 2979eb9da96c2b5940e94af863dd8fa966518aeb

Commit: 2979eb9da96c2b5940e94af863dd8fa966518aeb

Tree: 8557f9b2733a6c059402cc1c21557efc1107fdeb

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Allow transparent divs to be considered "top layers"

This changes the meaning of `was_top_layer` so that it is checking that
nothing opaque is on top of the given layer. The layer in question
need not be opaque.

```

## Parents

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

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