mirror of
https://github.com/ppy/osu
synced 2025-01-25 07:13:22 +00:00
Remove unnecessary null checks on Text
property
This commit is contained in:
parent
8c54bd46bb
commit
1293bbdbd9
@ -42,12 +42,8 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
|
||||
public LocalisableString Text
|
||||
{
|
||||
get => text?.Text ?? default;
|
||||
set
|
||||
{
|
||||
if (text != null)
|
||||
text.Text = value;
|
||||
}
|
||||
get => text.Text;
|
||||
set => text.Text = value;
|
||||
}
|
||||
|
||||
[Resolved]
|
||||
|
Loading…
Reference in New Issue
Block a user