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

Drag and zoom limit to image #40

Open
Nestrot opened this issue Jul 15, 2016 · 1 comment
Open

Drag and zoom limit to image #40

Nestrot opened this issue Jul 15, 2016 · 1 comment

Comments

@Nestrot
Copy link

Nestrot commented Jul 15, 2016

As an idea: would it be possible in the constrain mode the window height to be taken as a drag and zoom limit? So that a 4:3 or 16: 9 image (height 100%, width > 100%) can only be moved on the X-axis without zoom. And with zoom in on the Y-axis without black bars above and below. That would be great!

@AndersDJohnson
Copy link
Owner

@Nestrot It's not totally clear to me what you're proposing, maybe you could clarify? Have you tried the current options including constrainZoomed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants