mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Switch Colour{Display,Palette}
to use Colour4
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Localisation;
|
||||
@ -32,7 +33,7 @@ namespace osu.Game.Screens.Edit.Setup
|
||||
|
||||
var colours = Beatmap.BeatmapSkin?.GetConfig<GlobalSkinColours, IReadOnlyList<Color4>>(GlobalSkinColours.ComboColours)?.Value;
|
||||
if (colours != null)
|
||||
comboColours.Colours.AddRange(colours);
|
||||
comboColours.Colours.AddRange(colours.Select(c => (Colour4)c));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user