mirror of
https://github.com/ppy/osu
synced 2025-03-04 18:40:24 +00:00
Add comment with reasoning for TopRight anchor
This commit is contained in:
parent
03f336feb5
commit
f597572d73
@ -73,6 +73,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
|||||||
},
|
},
|
||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
|
// top right works better when the vertical height of the component changes smoothly (avoids weird layout animations).
|
||||||
Anchor = Anchor.TopRight,
|
Anchor = Anchor.TopRight,
|
||||||
Origin = Anchor.TopRight,
|
Origin = Anchor.TopRight,
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Loading…
Reference in New Issue
Block a user