mirror of
https://github.com/ppy/osu.git
synced 2025-02-28 03:15:08 +08:00
Add comment explaining loading container padding
This commit is contained in:
parent
d9571b6fc9
commit
450c5cef07
@ -81,6 +81,7 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
base.UpdateAfterChildren();
|
||||
|
||||
// don't block header by applying padding equal to the visible header height
|
||||
loadingContainer.Padding = new MarginPadding { Top = Math.Max(0, Header.Height - ScrollFlow.Current) };
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user