mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add tooltips showing current connecting status
This commit is contained in:
@ -102,12 +102,18 @@ namespace osu.Game.Overlays.Toolbar
|
||||
switch (state.NewValue)
|
||||
{
|
||||
case APIState.Connecting:
|
||||
TooltipText = ToolbarStrings.Connecting;
|
||||
spinner.Show();
|
||||
break;
|
||||
|
||||
case APIState.Failing:
|
||||
TooltipText = ToolbarStrings.ConnectionInterruptedWillTryTo;
|
||||
spinner.Show();
|
||||
break;
|
||||
|
||||
case APIState.Offline:
|
||||
case APIState.Online:
|
||||
TooltipText = string.Empty;
|
||||
spinner.Hide();
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user