mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Add a way to change custom combo colours via IHasComboColours
`IHasComboColours` was already mutable (via a strange `AddComboColours()` method) and exposing a straight list is easier to work with. `IHasCustomColours` is also similarly externally mutable (in a way which is not easily removable).
This commit is contained in:
@ -116,7 +116,7 @@ namespace osu.Game.Tests.Beatmaps
|
||||
{
|
||||
if (hasColours)
|
||||
{
|
||||
Configuration.AddComboColours(Colours);
|
||||
Configuration.CustomComboColours = Colours.ToList();
|
||||
Configuration.CustomColours.Add("HyperDash", HYPER_DASH_COLOUR);
|
||||
Configuration.CustomColours.Add("HyperDashAfterImage", HYPER_DASH_AFTER_IMAGE_COLOUR);
|
||||
Configuration.CustomColours.Add("HyperDashFruit", HYPER_DASH_FRUIT_COLOUR);
|
||||
@ -145,7 +145,7 @@ namespace osu.Game.Tests.Beatmaps
|
||||
{
|
||||
if (hasCustomColours)
|
||||
{
|
||||
Configuration.AddComboColours(Colours);
|
||||
Configuration.CustomComboColours = Colours.ToList();
|
||||
Configuration.CustomColours.Add("HyperDash", HYPER_DASH_COLOUR);
|
||||
Configuration.CustomColours.Add("HyperDashAfterImage", HYPER_DASH_AFTER_IMAGE_COLOUR);
|
||||
Configuration.CustomColours.Add("HyperDashFruit", HYPER_DASH_FRUIT_COLOUR);
|
||||
|
Reference in New Issue
Block a user