mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Centralise fetching of overlay component titles and textures
This commit is contained in:
@ -35,17 +35,6 @@ namespace osu.Game.Overlays.Toolbar
|
||||
IconContainer.Show();
|
||||
}
|
||||
|
||||
public void SetIcon(IconUsage icon) => SetIcon(new SpriteIcon
|
||||
{
|
||||
Size = new Vector2(20),
|
||||
Icon = icon
|
||||
});
|
||||
|
||||
public IconUsage Icon
|
||||
{
|
||||
set => SetIcon(value);
|
||||
}
|
||||
|
||||
public string Text
|
||||
{
|
||||
get => DrawableText.Text;
|
||||
|
Reference in New Issue
Block a user