mirror of
https://github.com/ppy/osu
synced 2024-12-25 00:02:48 +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();
|
private readonly BindableDouble muteAdjustment = new BindableDouble();
|
||||||
|
|
||||||
|
public bool IsMuted
|
||||||
|
{
|
||||||
|
get => muteButton.Current.Value;
|
||||||
|
set => muteButton.Current.Value = value;
|
||||||
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(AudioManager audio, OsuColour colours)
|
private void load(AudioManager audio, OsuColour colours)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user