# image_viewer: Make preview background checkered cover only the image size \(\#40078\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 52cc71e3801e4e4c149a0bed17b2906b711485e1

Requested commit: 52cc71e3801e4e4c149a0bed17b2906b711485e1

Commit: 52cc71e3801e4e4c149a0bed17b2906b711485e1

Tree: 8ccea25f2f1f30e0b2c21fc308cbcb77a242bdde

Author: Smit Barmase

Committer: GitHub

## Message

```
image_viewer: Make preview background checkered cover only the image size (#40078)

This makes it easier to see the image bounds for images with transparent
backgrounds.

<img width="2560" height="1377" alt="png"
src="https://github.com/user-attachments/assets/e1555576-39a2-4240-b9d3-67574df76f0d"
/>

Release Notes:

- Updated image preview background checkboxes to match the actual image
size, making it easier to see the bounds of images with transparent
backgrounds.
```

## Parents

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

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