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

Zoom Window Size Causes Buggy Window Position #119

Open
angable opened this issue Jul 16, 2019 · 0 comments
Open

Zoom Window Size Causes Buggy Window Position #119

angable opened this issue Jul 16, 2019 · 0 comments

Comments

@angable
Copy link

angable commented Jul 16, 2019

I found that certain sizes will sometimes cause the zoomWindowPosition to not properly work.

For Example, I can easily use

$('img.formFillingPreview').ezPlus({
            zoomWindowWidth: 500,
            zoomWindowHeight: 300,
            zoomWindowPosition: 10,
            minZoomLevel: 1.2,
            borderColour: '#888',
            borderSize: 1,
        });

And it will work fine. The zoom magnify window shows up in the 10 position, it seems about the correct size and looks good.

However, if I change the sizing to this

$('img.formFillingPreview').ezPlus({
            zoomWindowWidth: 350,
            zoomWindowHeight: 200,
            zoomWindowPosition: 10,
            minZoomLevel: 1.2,
            borderColour: '#888',
            borderSize: 1,
       });

Suddenly the zoom magnify window is inside the image that is being zoomed into (img.formFillingPreview).

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

No branches or pull requests

1 participant