mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Move header height propagation to update for safety
This commit is contained in:
@ -89,10 +89,15 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
UpdateItem();
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
|
||||
// avoid using fill flow for performance reasons. header size doesn't change after load.
|
||||
Content.Y = Header.Height;
|
||||
|
||||
UpdateItem();
|
||||
}
|
||||
|
||||
protected virtual void UpdateItem()
|
||||
|
Reference in New Issue
Block a user