mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-15 19:37:05 +00:00
UI: Fix status bar showing in fullscreen mode during gameplay
This commit is contained in:
parent
ef4ea7794b
commit
3bade9d6c1
1 changed files with 3 additions and 3 deletions
|
|
@ -2155,7 +2155,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||||
|
|
||||||
LastFullscreenToggle = Environment.TickCount64;
|
LastFullscreenToggle = Environment.TickCount64;
|
||||||
|
|
||||||
if (WindowState is not WindowState.Normal)
|
if (WindowState == WindowState.FullScreen)
|
||||||
{
|
{
|
||||||
WindowState = WindowState.Normal;
|
WindowState = WindowState.Normal;
|
||||||
|
|
||||||
|
|
@ -2166,7 +2166,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
WindowState = MainWindow.FullScreenWindowState;
|
WindowState = WindowState.FullScreen;
|
||||||
|
|
||||||
if (IsGameRunning)
|
if (IsGameRunning)
|
||||||
{
|
{
|
||||||
|
|
@ -2174,7 +2174,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IsFullScreen = WindowState == MainWindow.FullScreenWindowState;
|
IsFullScreen = WindowState == WindowState.FullScreen;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SaveConfig()
|
public static void SaveConfig()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue