mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 06:33:32 +08:00
Disallow being able to add dummy beatmap
This commit is contained in:
parent
fd3ab41731
commit
fca0324264
@ -347,6 +347,8 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
Debug.Assert(collectionBeatmaps != null);
|
Debug.Assert(collectionBeatmaps != null);
|
||||||
|
|
||||||
|
addOrRemoveButton.Enabled.Value = !beatmap.IsDefault;
|
||||||
|
|
||||||
if (collectionBeatmaps.Contains(beatmap.Value.BeatmapInfo))
|
if (collectionBeatmaps.Contains(beatmap.Value.BeatmapInfo))
|
||||||
{
|
{
|
||||||
addOrRemoveButton.Icon = FontAwesome.Solid.MinusSquare;
|
addOrRemoveButton.Icon = FontAwesome.Solid.MinusSquare;
|
||||||
|
Loading…
Reference in New Issue
Block a user