|
|
@@ -91,12 +91,14 @@ namespace Ryujinx.Ava.UI.Windows
|
|
|
TitleBar.ExtendsContentIntoTitleBar = !ConfigurationState.Instance.ShowTitleBar;
|
|
|
TitleBar.TitleBarHitTestType = (ConfigurationState.Instance.ShowTitleBar) ? TitleBarHitTestType.Simple : TitleBarHitTestType.Complex;
|
|
|
|
|
|
- // Correctly size window when 'TitleBar' is enabled (Nov. 14, 2024)
|
|
|
- TitleBarHeight = (ConfigurationState.Instance.ShowTitleBar ? TitleBar.Height : 0);
|
|
|
-
|
|
|
// NOTE: Height of MenuBar and StatusBar is not usable here, since it would still be 0 at this point.
|
|
|
StatusBarHeight = StatusBarView.StatusBar.MinHeight;
|
|
|
MenuBarHeight = MenuBar.MinHeight;
|
|
|
+
|
|
|
+ TitleBar.Height = MenuBarHeight;
|
|
|
+
|
|
|
+ // Correctly size window when 'TitleBar' is enabled (Nov. 14, 2024)
|
|
|
+ TitleBarHeight = (ConfigurationState.Instance.ShowTitleBar ? TitleBar.Height : 0);
|
|
|
|
|
|
ApplicationList.DataContext = DataContext;
|
|
|
ApplicationGrid.DataContext = DataContext;
|