Skip to content

Conversation

@dns2utf8
Copy link
Contributor

@dns2utf8 dns2utf8 commented Jun 25, 2021

While working on rust-lang/rust#86594 I noticed that borders sometime lead to rounding issues with the absolute comparison.
So I added this command to ensure the difference is below 1px

Cheers,
Stefan

@GuillaumeGomez
Copy link
Owner

For record, we decided to go for a dict for such case: {"x": 4, "y": 2} to compare the delta of position specifically for each.

@dns2utf8 dns2utf8 closed this Jun 30, 2021
@dns2utf8 dns2utf8 deleted the add_near_comparision branch September 5, 2021 11: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.

2 participants