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

Bug when image in zoomLens not scroll #170

Open
denikod opened this issue Sep 15, 2017 · 0 comments
Open

Bug when image in zoomLens not scroll #170

denikod opened this issue Sep 15, 2017 · 0 comments

Comments

@denikod
Copy link

denikod commented Sep 15, 2017

Fix bug when width or height of img tag larger than real image size:
just comment out next lines on line #993:

if(self.zoomLock == 1){
//overrides for images not zoomable
if(self.widthRatio <= 1){
self.windowLeftPos = 0;
}
if(self.heightRatio <= 1){
self.windowTopPos = 0;
}
}

/*if(self.zoomLock == 1){
//overrides for images not zoomable
if(self.widthRatio <= 1){

						self.windowLeftPos = 0;
					}
					if(self.heightRatio <= 1){ 
						self.windowTopPos = 0;
					}
				}*/
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