mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Use framework extension method for FromHex
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Framework.Extensions.Color4Extensions;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
|
||||
namespace osu.Game.Screens.Multi.Match.Components
|
||||
@ -12,9 +12,9 @@ namespace osu.Game.Screens.Multi.Match.Components
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
BackgroundColour = OsuColour.FromHex(@"593790");
|
||||
Triangles.ColourLight = OsuColour.FromHex(@"7247b6");
|
||||
Triangles.ColourDark = OsuColour.FromHex(@"593790");
|
||||
BackgroundColour = Color4Extensions.FromHex(@"593790");
|
||||
Triangles.ColourLight = Color4Extensions.FromHex(@"7247b6");
|
||||
Triangles.ColourDark = Color4Extensions.FromHex(@"593790");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user