mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00: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