mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Merge pull request #29115 from peppy/fix-download-tooltip-text
Fix "Beatmap not downloaded" tooltip hint not showing in online play
This commit is contained in:
commit
f2a38056b1
@ -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)
|
||||
|
@ -68,9 +68,6 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Enabled.Value)
|
||||
return string.Empty;
|
||||
|
||||
if (!enoughTimeLeft)
|
||||
return "No time left!";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user