mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 08:56:24 +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
|
@ -1426,7 +1426,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
|
||||
public async Task ExitCurrentState()
|
||||
{
|
||||
if (WindowState == MainWindow.FullScreenWindowState)
|
||||
if (WindowState is WindowState.FullScreen)
|
||||
{
|
||||
ToggleFullscreen();
|
||||
}
|
||||
|
@ -1754,7 +1754,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
}
|
||||
else
|
||||
{
|
||||
WindowState = MainWindow.FullScreenWindowState;
|
||||
WindowState = WindowState.FullScreen;
|
||||
|
||||
if (IsGameRunning)
|
||||
{
|
||||
|
@ -1762,7 +1762,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
}
|
||||
}
|
||||
|
||||
IsFullScreen = WindowState == MainWindow.FullScreenWindowState;
|
||||
IsFullScreen = WindowState is WindowState.FullScreen;
|
||||
}
|
||||
|
||||
public static void SaveConfig()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue