Force restore window when a size change is requested
This commit is contained in:
parent
bb5458150f
commit
46d3fa188d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue