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:
parent
2865dd3a10
commit
97ae44f23c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user