mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
UI: fix window position is not updated at startup on linux
This commit is contained in:
parent
04f014c777
commit
9070e0296c
1 changed files with 2 additions and 0 deletions
|
|
@ -392,6 +392,8 @@ namespace Ryujinx.Ava.UI.Windows
|
|||
|
||||
ViewModel.WindowState = ConfigurationState.Instance.UI.WindowStartup.WindowMaximized.Value ? WindowState.Maximized : WindowState.Normal;
|
||||
|
||||
Arrange(new Rect(savedPoint.X, savedPoint.Y, ViewModel.WindowWidth, ViewModel.WindowHeight));
|
||||
|
||||
if (CheckScreenBounds(savedPoint))
|
||||
{
|
||||
Position = savedPoint;
|
||||
|
|
|
|||
Loading…
Reference in a new issue