GoogleChromeLabs/squoosh

Center Image after typing in the zoom value

Open

#1,064 创建于 2021年6月19日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)TypeScript (20,335 star) (1,431 fork)batch import
UIgood first issuehelp wanted

描述

Is your feature request related to a problem? Please describe. When you change the zoom value by typing something in (using the keyboard), the image moves (pans) off of the screen (out of view). (right bottom)

Describe the solution you'd like If the image would get centered (panned to the center of the screen) when the zoom value is changed, by typing, or even better: if the mouse is over the image when the typing happens, zoom in like scroll zoom, otherwise, pan image to middle.

Does other service/app have this feature? I don't know. but gimp doesn't even allow the image to be panned out of view more than 50% of the image.

Additional context I feel like a static image of Squoosh where the image is not visible is kinda useless.

贡献者指南

Center Image after typing in the zoom value · GoogleChromeLabs/squoosh#1064 | Good First Issue