mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2026-05-25 10:52:33 +00:00
var D:
This commit is contained in:
parent
97ca57e64a
commit
c31ac3d1c4
1 changed files with 1 additions and 1 deletions
|
|
@ -2077,7 +2077,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
Window.Position.X + (int)(Window.Bounds.Width / 2),
|
||||
Window.Position.Y + (int)(Window.Bounds.Height / 2));
|
||||
|
||||
var screen =
|
||||
Avalonia.Platform.Screen? screen =
|
||||
Window.Screens.ScreenFromVisual(Window) ??
|
||||
Window.Screens.ScreenFromPoint(windowCenter) ??
|
||||
Window.Screens.Primary;
|
||||
|
|
|
|||
Loading…
Reference in a new issue