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 RulesetInfo equality comparison giving false negatives #1102

Merged
merged 4 commits into from Aug 18, 2017

Conversation

swoolcock
Copy link
Contributor

The call to EqualityComparer in Bindable was giving false negatives for RulesetInfo, triggering a value change event even though the value hasn't changed.

The change is to make RulesetInfo implement the IEquatable interface and manually do the comparison.

…times giving false negatives and causing Bindable observers to fire
smoogipoo
smoogipoo previously approved these changes Aug 18, 2017
@smoogipoo smoogipoo merged commit 9cda37a into ppy:master Aug 18, 2017
@swoolcock swoolcock deleted the make-rulesetinfo-iequatable branch August 19, 2017 01:36
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