Add support for custom colour prefixes

This commit is contained in:
Bartłomiej Dach
2021-04-18 19:56:03 +02:00
parent a8027d87b6
commit 0cd1aa8c1c
3 changed files with 27 additions and 1 deletions

View File

@ -15,6 +15,12 @@ namespace osu.Game.Graphics.UserInterfaceV2
public BindableList<Color4> Colours => Component.Colours;
public string ColourNamePrefix
{
get => Component.ColourNamePrefix;
set => Component.ColourNamePrefix = value;
}
protected override ColourPalette CreateComponent() => new ColourPalette();
}
}