# image_viewer: Allow setting a custom zoom level \(\#57215\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 10f47559169659fdc220f6d336cecd8c54ad9ded

Requested commit: 10f47559169659fdc220f6d336cecd8c54ad9ded

Commit: 10f47559169659fdc220f6d336cecd8c54ad9ded

Tree: a7acf26fa949e6af6351f449baf517c3a4b714f2

Author: allison

Committer: GitHub

## Message

```
image_viewer: Allow setting a custom zoom level (#57215)

Allows you to click on the zoom percent to edit it. Right clicking the
percentage resets to 100%.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- Added support for editing image viewer zoom levels directly from the
toolbar.

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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