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

If width is decimals, there is a bug. #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

f0x11
Copy link

@f0x11 f0x11 commented Apr 24, 2019

While outerWidth() only gets integer, the new width may be smaller than the true width.

I add 1 to solve the problem temporarily.

While outerWidth() only gets integer, the new width may be smaller than the true width.
@f0x11
Copy link
Author

f0x11 commented Apr 24, 2019

Maybe using computed style is better.

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.

1 participant