Show/Hide UI Hotkey fix on Avalonia (#5133)

* fix show/hide ui for ava

* revert style

* unbound by default

* revert
This commit is contained in:
Patrick Hovsepian 2023-06-11 06:34:56 -07:00 committed by GitHub
parent 193ca3c9a2
commit 638f3761f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1044,7 +1044,7 @@ namespace Ryujinx.Ava
ScreenshotRequested = true; ScreenshotRequested = true;
break; break;
case KeyboardHotkeyState.ShowUi: case KeyboardHotkeyState.ShowUi:
_viewModel.ShowMenuAndStatusBar = true; _viewModel.ShowMenuAndStatusBar = !_viewModel.ShowMenuAndStatusBar;
break; break;
case KeyboardHotkeyState.Pause: case KeyboardHotkeyState.Pause:
if (_viewModel.IsPaused) if (_viewModel.IsPaused)