mirror of
https://github.com/ppy/osu
synced 2025-04-01 14:38:37 +00: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
|
public string SearchTerm
|
||||||
{
|
{
|
||||||
get => SearchTextBox.Current.Value;
|
get => SearchTextBox.Current.Value;
|
||||||
set
|
set => SearchTextBox.Current.Value = value;
|
||||||
{
|
|
||||||
if (SearchTextBox.Current.Value == value)
|
|
||||||
return;
|
|
||||||
|
|
||||||
SearchTextBox.Current.Value = value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ShearedSearchTextBox SearchTextBox { get; private set; } = null!;
|
public ShearedSearchTextBox SearchTextBox { get; private set; } = null!;
|
||||||
|
Loading…
Reference in New Issue
Block a user