mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-23 21:12:08 +00:00
var D:
This commit is contained in:
parent
e6251d74a0
commit
8be31f943d
1 changed files with 1 additions and 1 deletions
|
|
@ -2070,7 +2070,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