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

Anti-aliased animation #26

Open
tobihagemann opened this issue Apr 28, 2020 · 1 comment
Open

Anti-aliased animation #26

tobihagemann opened this issue Apr 28, 2020 · 1 comment

Comments

@tobihagemann
Copy link
Member

A user noticed that the cloud animation is not anti-aliased on Firefox. He states that it is fixable via:

outline: 1px solid transparent;

However, I was not able to reproduce the issue (macOS, Retina display) and I don't understand the workaround quite yet. 😄 Would appreciate confirmation and some reference/source for this fix.

@overheadhunter
Copy link
Member

I don't understand the workaround quite yet

Just guessing, but I assume that when there is an outline (even a transparent one like in this case), AA happens between the node and its outline. Since the outline belongs to the node, the "hovering" animation of the cloud applies to it as well. The relative movement between node and outline is zero the whole time, therefore no re-calculation of AA is required.

Between node and background (container), there is no AA.

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

2 participants