mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Don't show loading tooltip for now
Should probably be replaced with a loading spinner in the future, don't really like "loading" tooltips.
This commit is contained in:
@ -147,7 +147,8 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
if (showItemOwner)
|
||||
{
|
||||
ownerAvatar.Show();
|
||||
userLookupCache.GetUserAsync(Item.OwnerID).ContinueWith(u => Schedule(() => ownerAvatar.User = u.Result), TaskContinuationOptions.OnlyOnRanToCompletion);
|
||||
userLookupCache.GetUserAsync(Item.OwnerID)
|
||||
.ContinueWith(u => Schedule(() => ownerAvatar.User = u.Result), TaskContinuationOptions.OnlyOnRanToCompletion);
|
||||
}
|
||||
|
||||
difficultyIconContainer.Child = new DifficultyIcon(Item.Beatmap.Value, ruleset.Value, requiredMods, performBackgroundDifficultyLookup: false) { Size = new Vector2(ICON_HEIGHT) };
|
||||
@ -458,7 +459,7 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
});
|
||||
}
|
||||
|
||||
public LocalisableString TooltipText => User == null ? "loading user..." : $"queued by {User.Username}";
|
||||
public LocalisableString TooltipText => User == null ? string.Empty : $"queued by {User.Username}";
|
||||
|
||||
private class TooltipArea : Component, IHasTooltip
|
||||
{
|
||||
|
Reference in New Issue
Block a user