1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Remove outwards exposure of mute property

This commit is contained in:
Dean Herbert 2018-01-31 16:56:26 +09:00
parent 2865dd3a10
commit 97ae44f23c

View File

@ -86,7 +86,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
return true;
case GlobalAction.ToggleMute:
Show();
Muted = !Muted;
muted.Toggle();
return true;
}
@ -103,12 +103,6 @@ namespace osu.Game.Graphics.UserInterface.Volume
private readonly BindableBool muted = new BindableBool();
public bool Muted
{
get => muted.Value;
set => muted.Value = value;
}
[BackgroundDependencyLoader]
private void load(AudioManager audio)
{