1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +08:00

Fix incorrect caching in TestSceneRankingsOverlay

This commit is contained in:
Andrei Zavatski 2020-02-19 17:09:22 +03:00
parent 7b0c3281c2
commit a79398ddbd

View File

@ -29,8 +29,9 @@ namespace osu.Game.Tests.Visual.Online
typeof(RankingsOverlayHeader) typeof(RankingsOverlayHeader)
}; };
[Cached] [Cached(typeof(RankingsOverlay))]
private RankingsOverlay rankingsOverlay;
private readonly RankingsOverlay rankingsOverlay;
private readonly Bindable<Country> countryBindable = new Bindable<Country>(); private readonly Bindable<Country> countryBindable = new Bindable<Country>();
private readonly Bindable<RankingsScope> scope = new Bindable<RankingsScope>(); private readonly Bindable<RankingsScope> scope = new Bindable<RankingsScope>();