Move foreground colour helper into OsuColour

This commit is contained in:
Bartłomiej Dach
2021-04-19 18:24:15 +02:00
parent 97573fb11d
commit 0825fc57a9
4 changed files with 14 additions and 27 deletions

View File

@ -10,7 +10,6 @@ using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Localisation;
using osu.Game.Graphics.Sprites;
using osu.Game.Utils;
using osuTK;
using osuTK.Graphics;
@ -102,7 +101,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
{
fill.Colour = current.Value;
colourHexCode.Text = current.Value.ToHex();
colourHexCode.Colour = ColourUtils.ForegroundTextColourFor(current.Value);
colourHexCode.Colour = OsuColour.ForegroundTextColourFor(current.Value);
}
}
}