From 5d15e2e4d0068b92afe8d7a6f19688ecef36c067 Mon Sep 17 00:00:00 2001 From: Luke Warner <65521430+LukeWarnut@users.noreply.github.com> Date: Fri, 1 Nov 2024 13:06:46 -0400 Subject: [PATCH 1/2] Fix fullscreen bar --- src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs | 2 ++ src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml | 15 ++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs index 05104cf547..ea6b7a5b64 100644 --- a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs @@ -1767,6 +1767,7 @@ public void ToggleFullscreen() if (WindowState is not WindowState.Normal) { WindowState = WindowState.Normal; + Window.TitleBar.ExtendsContentIntoTitleBar = !ConfigurationState.Instance.ShowTitleBar; if (IsGameRunning) { @@ -1776,6 +1777,7 @@ public void ToggleFullscreen() else { WindowState = WindowState.FullScreen; + Window.TitleBar.ExtendsContentIntoTitleBar = true; if (IsGameRunning) { diff --git a/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml b/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml index 6ee055d25f..adb1a94c8d 100644 --- a/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml +++ b/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml @@ -13,19 +13,20 @@ - - - + + From 2d56e1c11d7cdfd5376a9e6216f306f620c7365b Mon Sep 17 00:00:00 2001 From: Luke Warner <65521430+LukeWarnut@users.noreply.github.com> Date: Fri, 1 Nov 2024 13:14:56 -0400 Subject: [PATCH 2/2] line --- src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml b/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml index adb1a94c8d..25327062b2 100644 --- a/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml +++ b/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml @@ -26,7 +26,6 @@ Margin="0" HorizontalAlignment="Left" IsOpen="{Binding IsSubMenuOpen, Mode=OneWayToSource}"> -