UI: I may be stupid.

This commit is contained in:
Evan Husted 2024-10-17 12:03:56 -05:00
parent 430073817c
commit 01aa8a6a29
2 changed files with 3 additions and 2 deletions

View file

@ -95,6 +95,7 @@ namespace Ryujinx.Ava.UI.Views.Main
if (VisualRoot is MainWindow window) if (VisualRoot is MainWindow window)
{ {
Window = window;
DataContext = ViewModel = window.ViewModel; DataContext = ViewModel = window.ViewModel;
} }
} }

View file

@ -80,8 +80,8 @@ namespace Ryujinx.Ava.UI.Windows
ViewModel.Title = App.FormatTitle(); ViewModel.Title = App.FormatTitle();
//TitleBar.ExtendsContentIntoTitleBar = true; TitleBar.ExtendsContentIntoTitleBar = true;
//TitleBar.TitleBarHitTestType = TitleBarHitTestType.Complex; TitleBar.TitleBarHitTestType = TitleBarHitTestType.Complex;
// NOTE: Height of MenuBar and StatusBar is not usable here, since it would still be 0 at this point. // NOTE: Height of MenuBar and StatusBar is not usable here, since it would still be 0 at this point.