Skip to content

Conversation

@f3lan
Copy link

@f3lan f3lan commented Jul 29, 2014

Problem: If you are using the inner zoom mode and you
want to zoom a transparent PNG image. The image is allways shown in the
backgound of the zoomed image.

Solution: Set the opacity of the source element
to 0 while zooming. By the mouseleave callback set the opacity back to 1.

f3lan added 2 commits July 29, 2014 12:49
Problem: If you are using the inner zoom mode and you
want to zoom a transparent PNG image. The image is allways shown in the
backgound of the zoomed image.

Solution: Set the opacity of the source element
to 0 while zooming. By the mouseleave callback set the opacity back to 1.
@Bokkeman
Copy link

Thanks, but it would really help if you could submit a clean PR with JUST the lines implementing your opacity fix. This project looks like it's been abandoned, but that would at least make it easier for others to also find and implement the two lines of your fix.

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

Successfully merging this pull request may close these issues.

2 participants