Fix incorrect caching in TestSceneRankingsOverlay

This commit is contained in:
Andrei Zavatski 2020-02-19 17:09:22 +03:00
parent 7b0c3281c2
commit a79398ddbd
1 changed files with 3 additions and 2 deletions

View File

@ -29,8 +29,9 @@ public class TestSceneRankingsOverlay : OsuTestScene
typeof(RankingsOverlayHeader)
};
[Cached]
private RankingsOverlay rankingsOverlay;
[Cached(typeof(RankingsOverlay))]
private readonly RankingsOverlay rankingsOverlay;
private readonly Bindable<Country> countryBindable = new Bindable<Country>();
private readonly Bindable<RankingsScope> scope = new Bindable<RankingsScope>();