Force restore window when a size change is requested

This commit is contained in:
MutantAura 2024-04-29 21:03:04 +01:00
commit 46d3fa188d

View file

@ -237,6 +237,7 @@ namespace Ryujinx.Ava.UI.Views.Main
await Dispatcher.UIThread.InvokeAsync(() => await Dispatcher.UIThread.InvokeAsync(() =>
{ {
ViewModel.WindowState = WindowState.Normal;
ViewModel.WindowHeight = height + Window.StatusBarHeight + Window.MenuBarHeight; ViewModel.WindowHeight = height + Window.StatusBarHeight + Window.MenuBarHeight;
ViewModel.WindowWidth = width; ViewModel.WindowWidth = width;
}); });