Remove StreamColour class and implement locally

This commit is contained in:
Dean Herbert
2019-05-17 18:09:11 +09:00
parent 0b076c9ca0
commit dbc42fd59e
4 changed files with 35 additions and 46 deletions

View File

@ -75,7 +75,7 @@ namespace osu.Game.Overlays.Changelog
{
Text = build.DisplayVersion,
Font = OsuFont.GetFont(weight: FontWeight.Light, size: 24),
Colour = StreamColour.FromStreamName(build.UpdateStream.Name),
Colour = build.UpdateStream.Colour,
},
}
},
@ -156,7 +156,7 @@ namespace osu.Game.Overlays.Changelog
{
Text = build.DisplayVersion,
Font = OsuFont.GetFont(weight: FontWeight.Light, size: 19),
Colour = StreamColour.FromStreamName(build.UpdateStream.Name),
Colour = build.UpdateStream.Colour,
},
},
}