diff options
| author | rmg-x <git@rmgx.io> | 2023-12-11 20:26:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-11 21:26:11 +0100 |
| commit | ad8d5b9b5622f331db0e0e2a7f5ba715b2aa8302 (patch) | |
| tree | 3fc25b33232d3f2c687ae1d6e8b36af90ffd846f /src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs | |
| parent | 1df6c07f78c4c3b8c7fc679d7466f79a10c2d496 (diff) | |
Ava UI: Fix temporary volume not being set after unmute (#5833)
Diffstat (limited to 'src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs')
| -rw-r--r-- | src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs index 80df5d39..7146dfd7 100644 --- a/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs +++ b/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs @@ -90,6 +90,7 @@ namespace Ryujinx.Ava.UI.ViewModels private string _pauseKey = "F5"; private string _screenshotKey = "F8"; private float _volume; + private float _volumeBeforeMute; private string _backendText; private bool _canUpdate = true; @@ -554,6 +555,17 @@ namespace Ryujinx.Ava.UI.ViewModels } } + public float VolumeBeforeMute + { + get => _volumeBeforeMute; + set + { + _volumeBeforeMute = value; + + OnPropertyChanged(); + } + } + public bool ShowStatusSeparator { get => _showStatusSeparator; |
