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

Fixed Transparent Image Bug #67

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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