mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-24 22:52:23 -05:00
Ava UI: Fix temporary volume not being set after unmute (#5833)
This commit is contained in:
@@ -1088,10 +1088,11 @@ namespace Ryujinx.Ava
|
||||
case KeyboardHotkeyState.ToggleMute:
|
||||
if (Device.IsAudioMuted())
|
||||
{
|
||||
Device.SetVolume(ConfigurationState.Instance.System.AudioVolume);
|
||||
Device.SetVolume(_viewModel.VolumeBeforeMute);
|
||||
}
|
||||
else
|
||||
{
|
||||
_viewModel.VolumeBeforeMute = Device.GetVolume();
|
||||
Device.SetVolume(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user