1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-13 20:33:35 +08:00

Fix beatmap panels now showing "downloaded" green strip (#37566)

Regressed in https://github.com/ppy/osu/pull/37558, my bad.
This commit is contained in:
Dean Herbert
2026-04-29 11:27:28 +09:00
committed by GitHub
Unverified
parent 71f841d8ae
commit bc1c3d09e0
@@ -174,7 +174,8 @@ namespace osu.Game.Beatmaps.Drawables.Cards
// By limiting the width we avoid this box showing up as an outline around the drawables that are on top of it.
background.ResizeWidthTo(buttonAreaWidth + BeatmapCard.CORNER_RADIUS, BeatmapCard.TRANSITION_DURATION, Easing.OutQuint);
background.FadeTo(ShowDetails.Value ? 1 : 0, BeatmapCard.TRANSITION_DURATION, Easing.OutQuint);
if (ButtonsCollapsedWidth == 0)
background.FadeTo(ShowDetails.Value ? 1 : 0, BeatmapCard.TRANSITION_DURATION, Easing.OutQuint);
background.FadeColour(downloadTracker.State.Value == DownloadState.LocallyAvailable ? colours.Lime0 : colourProvider.Background3, BeatmapCard.TRANSITION_DURATION, Easing.OutQuint);
buttons.FadeTo(ShowDetails.Value ? 1 : 0, BeatmapCard.TRANSITION_DURATION, Easing.OutQuint);