mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:03:21 +08:00
Fix button being recreated on importing state
This commit is contained in:
parent
46c44c576d
commit
c9967f7b74
@ -268,11 +268,13 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
break;
|
||||
|
||||
case DownloadState.Downloading:
|
||||
case DownloadState.Importing:
|
||||
// temporary to avoid showing two buttons for maps with novideo. will be fixed in new beatmap overlay design.
|
||||
downloadButtonsContainer.Child = new HeaderDownloadButton(BeatmapSet.Value);
|
||||
break;
|
||||
|
||||
case DownloadState.Importing:
|
||||
break;
|
||||
|
||||
default:
|
||||
downloadButtonsContainer.Child = new HeaderDownloadButton(BeatmapSet.Value);
|
||||
if (BeatmapSet.Value.OnlineInfo.HasVideo)
|
||||
|
Loading…
Reference in New Issue
Block a user