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

fix: use math.modulo to fix decimals bug of #320

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

Conversation

joenix
Copy link

@joenix joenix commented Sep 10, 2021

when i set w & h of grid dynamically, for example: width is 37.7px, parent width is 377px, then modulo calculate has bug as '37.699999999999974'
then, minW and minH will be calculated incorrectly ...

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

1 participant