magnificent.js icon indicating copy to clipboard operation
magnificent.js copied to clipboard

Drag and zoom limit to image

Open Nestrot opened this issue 8 years ago • 1 comments

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!

Nestrot avatar Jul 15 '16 16:07 Nestrot

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

AndersDJohnson avatar Aug 14 '16 15:08 AndersDJohnson