mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Expose muted state from VolumeOverlay
This commit is contained in:
parent
72af640df7
commit
0afb5c5bb0
@ -32,6 +32,12 @@ namespace osu.Game.Overlays
|
||||
|
||||
private readonly BindableDouble muteAdjustment = new BindableDouble();
|
||||
|
||||
public bool IsMuted
|
||||
{
|
||||
get => muteButton.Current.Value;
|
||||
set => muteButton.Current.Value = value;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(AudioManager audio, OsuColour colours)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user