# Pass PaintContext to Element::paint \(\#2788\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8ed5e8f86d703d99685a2c48641f505b78e27068

Requested commit: 8ed5e8f86d703d99685a2c48641f505b78e27068

Commit: 8ed5e8f86d703d99685a2c48641f505b78e27068

Tree: 057a8081fef6e8522a492840d59873aa438fa0cf

Author: Nathan Sobo

Committer: GitHub

## Message

```
Pass PaintContext to Element::paint (#2788)

I want to use this on another branch, but it's a sweeping change, so
this prepares the ground for it. This can always be reverted if it
doesn't work out.
```

## Parents

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

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

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