Skip to content

Commit

Permalink
UI: I may be stupid.
Browse files Browse the repository at this point in the history
  • Loading branch information
GreemDev committed Oct 17, 2024
1 parent 4300738 commit 01aa8a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ protected override void OnAttachedToVisualTree(VisualTreeAttachmentEventArgs e)

if (VisualRoot is MainWindow window)
{
Window = window;
DataContext = ViewModel = window.ViewModel;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/Ryujinx/UI/Windows/MainWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ public MainWindow()

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.
Expand Down

0 comments on commit 01aa8a6

Please sign in to comment.