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

Increase tolerance inside layout manager #744

Merged
merged 2 commits into from
Oct 12, 2022
Merged

Conversation

naqvitalha
Copy link
Collaborator

@naqvitalha naqvitalha commented Oct 12, 2022

Description

The current layout manager works well with integers but there seem to be valid cases for decimal estimates and sometimes equality checks can fail due to known floating point computing problems.

We're introducing a tolerance of 0.9px to solve those issues. We expect that people won't have rows as thin as 0.9px.

@naqvitalha naqvitalha merged commit cb02e86 into master Oct 12, 2022
@naqvitalha naqvitalha deleted the tolerance-tweak branch October 12, 2022 20:51
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