1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:47:25 +08:00

adjust height values to avoid random jumps

This commit is contained in:
Andrei Zavatski 2019-08-01 21:32:04 +03:00
parent 90c59ab39d
commit 13fe1732d8

View File

@ -21,7 +21,7 @@ namespace osu.Game.Overlays.Profile.Header
private const int duration = 200;
private const int margin = 10;
private const int width = 350;
private const int move_offset = 30;
private const int move_offset = 20;
public readonly Bindable<User> User = new Bindable<User>();
@ -163,7 +163,7 @@ namespace osu.Game.Overlays.Profile.Header
AutoSizeAxes = Axes.Both;
Child = new SpriteIcon
{
Margin = new MarginPadding(margin) { Top = 7 },
Margin = new MarginPadding(margin) { Top = 6 },
Size = new Vector2(20),
Icon = FontAwesome.Solid.IdCard,
};