Use framework extension method for FromHex

This commit is contained in:
Dean Herbert
2020-03-11 10:18:41 +09:00
parent 1648a0d2d3
commit ed837d3115
44 changed files with 249 additions and 276 deletions

View File

@ -384,7 +384,7 @@ namespace osu.Game.Screens.Select
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Colour = OsuColour.FromHex(@"441288"),
Colour = Color4Extensions.FromHex(@"441288"),
Icon = FontAwesome.Solid.Square,
Rotation = 45,
},
@ -394,7 +394,7 @@ namespace osu.Game.Screens.Select
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Scale = new Vector2(0.8f),
Colour = OsuColour.FromHex(@"f7dd55"),
Colour = Color4Extensions.FromHex(@"f7dd55"),
Icon = statistic.Icon,
},
}