mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
make hover lost transition instant (similar to hover transition)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user