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:
parent
c7e8990576
commit
1b4d7db1e6
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user