mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-21 17:40:52 +01:00
UI: I may be stupid.
This commit is contained in:
parent
430073817c
commit
01aa8a6a29
2 changed files with 3 additions and 2 deletions
|
@ -95,6 +95,7 @@ namespace Ryujinx.Ava.UI.Views.Main
|
|||
|
||||
if (VisualRoot is MainWindow window)
|
||||
{
|
||||
Window = window;
|
||||
DataContext = ViewModel = window.ViewModel;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,8 +80,8 @@ namespace Ryujinx.Ava.UI.Windows
|
|||
|
||||
ViewModel.Title = App.FormatTitle();
|
||||
|
||||
//TitleBar.ExtendsContentIntoTitleBar = true;
|
||||
//TitleBar.TitleBarHitTestType = TitleBarHitTestType.Complex;
|
||||
TitleBar.ExtendsContentIntoTitleBar = true;
|
||||
TitleBar.TitleBarHitTestType = TitleBarHitTestType.Complex;
|
||||
|
||||
|
||||
// NOTE: Height of MenuBar and StatusBar is not usable here, since it would still be 0 at this point.
|
||||
|
|
Loading…
Reference in a new issue