# Snap icon sprites to pixel grid · gitcafe/zed

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

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

Visibility: public

Requested revision: f69bd0e327d785d7bab8e723660c4c739e465798

Requested commit: f69bd0e327d785d7bab8e723660c4c739e465798

Commit: f69bd0e327d785d7bab8e723660c4c739e465798

Tree: 90d18aa2b1a167c0433125fb03903b9010a7d528

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Snap icon sprites to pixel grid

This should resolve some rendering artifacts potentially caused by
floating point errors when sampling the texture. It should also lead
to crisper images when icons are rendered midway through a pixel.

```

## Parents

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

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