AndersDJohnson / AndersDJohnson/magnificent.js

Drag and zoom limit to image

Open
#40 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
165
Forks
45
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.