1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Merge pull request #3758 from peppy/fix-invalid-cached

Fix leaderboard accessing drawables in a possibly invalid state
This commit is contained in:
Dan Balasescu 2018-11-23 00:19:52 +09:00 committed by GitHub
commit 2271ca5e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -310,9 +310,9 @@ namespace osu.Game.Screens.Select.Leaderboards
currentPlaceholder = placeholder;
}
protected override void Update()
protected override void UpdateAfterChildren()
{
base.Update();
base.UpdateAfterChildren();
var fadeStart = scrollContainer.Current + scrollContainer.DrawHeight;