mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 21:47:25 +08:00
Rename to DownloadButtonsContainer
This commit is contained in:
parent
2e383a1f83
commit
eaf6f6891d
@ -158,7 +158,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
favouriteButton = new FavouriteButton(),
|
favouriteButton = new FavouriteButton(),
|
||||||
downloadButtonsContainer = new FillFlowContainer
|
DownloadButtonsContainer = new FillFlowContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding { Left = buttons_height + buttons_spacing },
|
Padding = new MarginPadding { Left = buttons_height + buttons_spacing },
|
||||||
@ -225,7 +225,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
|
|
||||||
loading.Show();
|
loading.Show();
|
||||||
|
|
||||||
downloadButtonsContainer.FadeOut(transition_duration);
|
DownloadButtonsContainer.FadeOut(transition_duration);
|
||||||
favouriteButton.FadeOut(transition_duration);
|
favouriteButton.FadeOut(transition_duration);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -240,7 +240,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
onlineStatusPill.FadeIn(500, Easing.OutQuint);
|
onlineStatusPill.FadeIn(500, Easing.OutQuint);
|
||||||
onlineStatusPill.Status = setInfo.NewValue.OnlineInfo.Status;
|
onlineStatusPill.Status = setInfo.NewValue.OnlineInfo.Status;
|
||||||
|
|
||||||
downloadButtonsContainer.FadeIn(transition_duration);
|
DownloadButtonsContainer.FadeIn(transition_duration);
|
||||||
favouriteButton.FadeIn(transition_duration);
|
favouriteButton.FadeIn(transition_duration);
|
||||||
|
|
||||||
updateDownloadButtons();
|
updateDownloadButtons();
|
||||||
|
Loading…
Reference in New Issue
Block a user