mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 05:02:56 +08:00
Resolve code inspection errors
This commit is contained in:
parent
ec788ac09d
commit
e3884658af
@ -7,7 +7,6 @@ using System.Linq;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Audio;
|
using osu.Framework.Audio;
|
||||||
using osu.Framework.Bindables;
|
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Sprites;
|
using osu.Framework.Graphics.Sprites;
|
||||||
@ -66,7 +65,7 @@ namespace osu.Game.Screens.Play
|
|||||||
[Resolved]
|
[Resolved]
|
||||||
private VolumeOverlay volumeOverlay { get; set; }
|
private VolumeOverlay volumeOverlay { get; set; }
|
||||||
|
|
||||||
private bool muteWarningShownOnce = false;
|
private bool muteWarningShownOnce;
|
||||||
|
|
||||||
public PlayerLoader(Func<Player> createPlayer)
|
public PlayerLoader(Func<Player> createPlayer)
|
||||||
{
|
{
|
||||||
@ -500,10 +499,7 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
private class MutedNotification : SimpleNotification
|
private class MutedNotification : SimpleNotification
|
||||||
{
|
{
|
||||||
public MutedNotification()
|
public MutedNotification() => Text = "Your music volume is set to 0%! Click here to restore it.";
|
||||||
{
|
|
||||||
this.Text = "Your music volume is set to 0%! Click here to restore it.";
|
|
||||||
}
|
|
||||||
|
|
||||||
public override bool IsImportant => true;
|
public override bool IsImportant => true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user