mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-08 09:38:57 +02:00
UI: Fix status bar showing in fullscreen mode during gameplay
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user