1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 22:22:54 +08:00

Remove redundant guard

`Bindable` has one of those already.
This commit is contained in:
Bartłomiej Dach 2023-06-18 13:51:13 +02:00
parent c7e8990576
commit 1b4d7db1e6
No known key found for this signature in database

View File

@ -89,13 +89,7 @@ namespace osu.Game.Overlays.Mods
public override bool MatchingFilter public override bool MatchingFilter
{ {
get => modState.MatchingTextFilter.Value; get => modState.MatchingTextFilter.Value;
set set => modState.MatchingTextFilter.Value = value;
{
if (modState.MatchingTextFilter.Value == value)
return;
modState.MatchingTextFilter.Value = value;
}
} }
private void updateFilterState() private void updateFilterState()