Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force selecting any image region #13

Closed
lourot opened this issue Feb 28, 2023 · 0 comments
Closed

Force selecting any image region #13

lourot opened this issue Feb 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@lourot
Copy link
Member

lourot commented Feb 28, 2023

Right now, the component may decide that the best region to zoom in on right now is no region at all, i.e. the original image. This happens if the current component ratio is closed to the original image's ratio.

By default, the component should always prefer selecting one of the regions, no matter what. This behavior could be tweaked with a new HTML attribute, see #2

@lourot lourot added enhancement New feature or request good first issue Good for newcomers labels Feb 28, 2023
@lourot lourot self-assigned this Mar 3, 2023
@lourot lourot closed this as completed in cdd095a Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant