1
0
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:
Craftplacer 2019-09-15 16:31:57 +02:00
parent 72af640df7
commit 0afb5c5bb0

View File

@ -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)
{