mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Remove yet another redundant guard
This commit is contained in:
parent
b9156b1df3
commit
28f929dc4d
@ -70,13 +70,7 @@ namespace osu.Game.Overlays.Mods
|
||||
public string SearchTerm
|
||||
{
|
||||
get => SearchTextBox.Current.Value;
|
||||
set
|
||||
{
|
||||
if (SearchTextBox.Current.Value == value)
|
||||
return;
|
||||
|
||||
SearchTextBox.Current.Value = value;
|
||||
}
|
||||
set => SearchTextBox.Current.Value = value;
|
||||
}
|
||||
|
||||
public ShearedSearchTextBox SearchTextBox { get; private set; } = null!;
|
||||
|
Loading…
Reference in New Issue
Block a user