Move colour selection to the FriendsOnlineStatusItem

This commit is contained in:
Andrei Zavatski
2020-03-04 00:28:47 +03:00
parent 06b23b626e
commit c22f61b2b1
4 changed files with 24 additions and 28 deletions

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using Humanizer;
using osu.Game.Graphics;
using osu.Game.Online.API.Requests.Responses;
using osuTK.Graphics;
@ -28,6 +29,6 @@ namespace osu.Game.Overlays.Changelog
protected override string GetInfoText() => Value.LatestBuild.Users > 0 ? $"{"user".ToQuantity(Value.LatestBuild.Users, "N0")} online" : null;
protected override Color4 GetBarColour() => Value.Colour;
protected override Color4 GetBarColour(OsuColour colours) => Value.Colour;
}
}