mirror of https://github.com/ppy/osu
Remove unnecessary getters from ScreenTitle
This commit is contained in:
parent
2cf43dc4d4
commit
587e4bb5d5
|
@ -19,19 +19,16 @@ public abstract class ScreenTitle : CompositeDrawable, IHasAccentColour
|
|||
|
||||
protected IconUsage Icon
|
||||
{
|
||||
get => iconSprite.Icon;
|
||||
set => iconSprite.Icon = value;
|
||||
}
|
||||
|
||||
protected string Title
|
||||
{
|
||||
get => titleText.Text;
|
||||
set => titleText.Text = value;
|
||||
}
|
||||
|
||||
protected string Section
|
||||
{
|
||||
get => pageText.Text;
|
||||
set => pageText.Text = value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue