mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Update icon usage to match framework changes
This commit is contained in:
@ -27,13 +27,13 @@ namespace osu.Game.Overlays.Toolbar
|
||||
IconContainer.Show();
|
||||
}
|
||||
|
||||
public void SetIcon(FontAwesome icon) => SetIcon(new SpriteIcon
|
||||
public void SetIcon(IconUsage icon) => SetIcon(new SpriteIcon
|
||||
{
|
||||
Size = new Vector2(20),
|
||||
Icon = icon
|
||||
});
|
||||
|
||||
public FontAwesome Icon
|
||||
public IconUsage Icon
|
||||
{
|
||||
set => SetIcon(value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user