mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 22:33:13 +08:00
Restore play button's visibility after a check
This commit is contained in:
parent
39c0d89cdf
commit
110ea32b2a
@ -296,8 +296,11 @@ namespace osu.Game.GameModes.Play
|
||||
private void addBeatmapSets()
|
||||
{
|
||||
if (database.Query<BeatmapSetInfo>().Count() > 0)
|
||||
{
|
||||
if (playButton.IsVisible == false) playButton.Show();
|
||||
foreach (var beatmapSet in database.Query<BeatmapSetInfo>())
|
||||
addBeatmapSet(beatmapSet);
|
||||
}
|
||||
else playButton.Hide();
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,6 @@ using OpenTK.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework;
|
||||
using System.Threading.Tasks;
|
||||
using osu.Framework.Graphics.Textures;
|
||||
|
||||
namespace osu.Game.Graphics.Background
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user