mirror of https://github.com/ppy/osu
Remove outwards exposure of mute property
This commit is contained in:
parent
2865dd3a10
commit
97ae44f23c
|
@ -86,7 +86,7 @@ public bool Adjust(GlobalAction action)
|
|||
return true;
|
||||
case GlobalAction.ToggleMute:
|
||||
Show();
|
||||
Muted = !Muted;
|
||||
muted.Toggle();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -103,12 +103,6 @@ private void volumeChanged(double newVolume)
|
|||
|
||||
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