Skip to content

[ENHANCEMENT] Please re-center screenshots after zooming in/out #1353

@TriVoxel

Description

@TriVoxel

Description

Zooming seems to work by picking a point and scaling the image at that point. This is usually the point between your two fingers on a touch screen, or wherever your mouse cursor is on desktop.

The issue is that the image can get way off-center which makes it hard to see sometimes, and is unpleasant to look at.

Request

Please add a short delay after finishing the zoom action (maybe 40ms) and then re-center the image. Essentially, if one edge on a given axis is off-screen, move it down until it either hits the other edge or is centered (whichever happens first.) If neither edge is off-screen, center it in the view.

This is how media viewers in most operating systems work, for example on iOS or Android or Windows, they typically try to contain the image as best they can. Otherwise, it feels really weird and becomes a little impractical. Also, if it goes off-screen, you can use your touchpad to scroll the image back on-screen, it will perform a gesture instead. You need to like, activate the zoom then drag the view around because there's no scrolling on the image viewer and it feels kinda janky NGL.

It's nice, but needs work IMO. You're awesome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions