mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-22 02:27:11 +02:00
UI: Fix diaglog popups doubling the window controls and laying text over the menu bar.
This commit is contained in:
parent
045f9a39bb
commit
430073817c
21 changed files with 75 additions and 60 deletions
|
@ -22,12 +22,11 @@ namespace Ryujinx.Ava.UI.Views.Main
|
|||
{
|
||||
base.OnAttachedToVisualTree(e);
|
||||
|
||||
if (VisualRoot is MainWindow)
|
||||
if (VisualRoot is MainWindow window)
|
||||
{
|
||||
ViewModel = MainWindow.ViewModel;
|
||||
DataContext = ViewModel = window.ViewModel;
|
||||
}
|
||||
|
||||
DataContext = ViewModel;
|
||||
}
|
||||
|
||||
public void Sort_Checked(object sender, RoutedEventArgs args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue