1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +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 new Container
{ {
RelativeSizeAxes = Axes.Both, 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), Padding = new MarginPadding(-30f),
Child = glowBar = new ArgonHealthDisplayBar Child = glowBar = new ArgonHealthDisplayBar
{ {