mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-20 09:41:14 +02:00
Wire "Start games in fullscreen" option to use the new fullscreen behaviour
Final (hopefully) fix for https://github.com/Ryubing/Issues/issues/415
(cherry picked from commit 7be8829b0a)
This commit is contained in:
@@ -1066,9 +1066,10 @@ namespace Ryujinx.Ava
|
||||
{
|
||||
Dispatcher.UIThread.InvokeAsync(() =>
|
||||
{
|
||||
if (_viewModel.StartGamesInFullscreen)
|
||||
if (_viewModel.StartGamesInFullscreen && _viewModel.WindowState is not WindowState.FullScreen)
|
||||
{
|
||||
_viewModel.WindowState = WindowState.FullScreen;
|
||||
// Use the view model toggle so decoration ordering matches user toggles.
|
||||
_viewModel.ToggleFullscreen();
|
||||
}
|
||||
|
||||
if (_viewModel.WindowState == WindowState.FullScreen || _viewModel.StartGamesWithoutUI)
|
||||
|
||||
Reference in New Issue
Block a user