mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-06 07:36:26 +02:00
Revert Maximized = Fullscreen changes, fixes #20
This commit is contained in:
parent
f3efada444
commit
509f6d738c
4 changed files with 14 additions and 16 deletions
|
@ -964,10 +964,10 @@ namespace Ryujinx.Ava
|
|||
{
|
||||
if (_viewModel.StartGamesInFullscreen)
|
||||
{
|
||||
_viewModel.WindowState = MainWindow.FullScreenWindowState;
|
||||
_viewModel.WindowState = WindowState.FullScreen;
|
||||
}
|
||||
|
||||
if (_viewModel.WindowState == MainWindow.FullScreenWindowState)
|
||||
if (_viewModel.WindowState is WindowState.FullScreen)
|
||||
{
|
||||
_viewModel.ShowMenuAndStatusBar = false;
|
||||
}
|
||||
|
@ -1138,7 +1138,7 @@ namespace Ryujinx.Ava
|
|||
|
||||
Dispatcher.UIThread.Post(() =>
|
||||
{
|
||||
if (_keyboardInterface.GetKeyboardStateSnapshot().IsPressed(Key.Delete) && _viewModel.WindowState != MainWindow.FullScreenWindowState)
|
||||
if (_keyboardInterface.GetKeyboardStateSnapshot().IsPressed(Key.Delete) && _viewModel.WindowState is not WindowState.FullScreen)
|
||||
{
|
||||
Device.Processes.ActiveApplication.DiskCacheLoadState?.Cancel();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue