mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:02:54 +08:00
make hover lost transition instant (similar to hover transition)
This commit is contained in:
parent
2a18b4c3f8
commit
046412f962
@ -136,7 +136,7 @@ namespace osu.Game.Overlays.Profile.Header
|
||||
|
||||
private void onOuterHoverLost()
|
||||
{
|
||||
badgeFlowContainer.MoveToX(-badge_size.X * visibleBadge, 500, Easing.InOutQuad);
|
||||
badgeFlowContainer.X = -DrawableBadge.DRAWABLE_BADGE_SIZE.X * visibleBadge;
|
||||
badgeFlowContainer.Direction = FillDirection.Horizontal;
|
||||
outerBadgeContainer.AutoSizeAxes = Axes.Y;
|
||||
outerBadgeContainer.Width = DrawableBadge.DRAWABLE_BADGE_SIZE.X + outer_padding.TotalHorizontal;
|
||||
|
Loading…
Reference in New Issue
Block a user