1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 04:42:58 +08:00

Add comment with reasoning for TopRight anchor

This commit is contained in:
Dean Herbert 2020-10-19 16:02:39 +09:00
parent 03f336feb5
commit f597572d73

View File

@ -73,6 +73,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
},
new Container
{
// top right works better when the vertical height of the component changes smoothly (avoids weird layout animations).
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
RelativeSizeAxes = Axes.X,