1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-19 20:52:01 +00:00

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;
break;
case KeyboardHotkeyState.ShowUi:
_viewModel.ShowMenuAndStatusBar = true;
_viewModel.ShowMenuAndStatusBar = !_viewModel.ShowMenuAndStatusBar;
break;
case KeyboardHotkeyState.Pause:
if (_viewModel.IsPaused)