mirror of https://github.com/ppy/osu
Revert "Fix button being recreated on importing state"
This reverts commit c9967f7b74
.
This commit is contained in:
parent
c9967f7b74
commit
9952a5bfdb
|
@ -268,13 +268,11 @@ private void updateDownloadButtons()
|
|||
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