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

Add comment explaining negative container padding

This commit is contained in:
Andrei Zavatski 2024-01-12 15:34:02 +03:00
parent 8d4ba6d466
commit c1e4e51a5f

View File

@ -89,6 +89,7 @@ namespace osu.Game.Screens.Play.HUD
new Container
{
RelativeSizeAxes = Axes.Both,
// since we are using bigger path radius we need to expand the draw area outwards to preserve the curve placement
Padding = new MarginPadding(-30f),
Child = glowBar = new ArgonHealthDisplayBar
{