Improve LineGraph invalidation logic

This commit is contained in:
Dean Herbert
2017-12-22 18:58:35 +09:00
parent 8c50fa0b84
commit 1a318c5c2b
2 changed files with 39 additions and 10 deletions

View File

@ -2,14 +2,25 @@
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays;
using osu.Game.Overlays.Profile;
using osu.Game.Users;
namespace osu.Game.Tests.Visual
{
public class TestCaseUserProfile : OsuTestCase
{
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(ProfileHeader),
typeof(UserProfileOverlay),
typeof(RankChart),
typeof(LineGraph),
};
public TestCaseUserProfile()
{
var profile = new UserProfileOverlay();