Fix "Beatmap not downloaded" tooltip hint not showing in daily challenge

This commit is contained in:
Dean Herbert 2024-07-27 02:06:56 +09:00
parent 834ad3524a
commit 9323f89357
No known key found for this signature in database
2 changed files with 2 additions and 5 deletions

View File

@ -21,8 +21,8 @@ namespace osu.Game.Screens.OnlinePlay.Components
private void load(OnlinePlayBeatmapAvailabilityTracker beatmapTracker)
{
availability.BindTo(beatmapTracker.Availability);
availability.BindValueChanged(_ => updateState());
Enabled.BindValueChanged(_ => updateState(), true);
}
@ -33,7 +33,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
{
get
{
if (Enabled.Value)
if (base.Enabled.Value)
return string.Empty;
if (availability.Value.State != DownloadState.LocallyAvailable)

View File

@ -68,9 +68,6 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
{
get
{
if (Enabled.Value)
return string.Empty;
if (!enoughTimeLeft)
return "No time left!";