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

Add Math.round to translate3d #99

Merged
merged 1 commit into from
May 24, 2018
Merged

Add Math.round to translate3d #99

merged 1 commit into from
May 24, 2018

Conversation

dmikheev
Copy link
Contributor

@dmikheev dmikheev commented Dec 6, 2017

translate function can reseive non-integer pos and it causes font smoothing in Chrome (if bottomBoundary element has non-integer height for example). We can call Math.round on pos to prevent it.

@redonkulus redonkulus merged commit d777afe into yahoo:master May 24, 2018
@redonkulus
Copy link
Contributor

Thanks!

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.

None yet

2 participants