mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Remove outwards exposure of mute property
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user