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

chore: explain f6031bc1

This commit is contained in:
tsrk. 2023-09-11 16:06:06 +02:00
parent 8c989d77bd
commit f331f92151
No known key found for this signature in database
GPG Key ID: EBD46BB3049B56D6

View File

@ -86,6 +86,9 @@ namespace osu.Game.Overlays.Profile.Header.Components
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,
Direction = FillDirection.Full, Direction = FillDirection.Full,
// Prevents the tooltip of having a sudden size reduction
// and flickering when the text is being faded out.
// Also prevents a potential OnHover/HoverLost infinite loop
AlwaysPresent = true, AlwaysPresent = true,
Margin = new MarginPadding { Bottom = margin, Top = margin / 2f } Margin = new MarginPadding { Bottom = margin, Top = margin / 2f }
} }