rds1983 / Myra

UI Library for MonoGame, FNA and Stride
MIT License
728 stars 94 forks source link

apply layoutScale on Window centering #270

Closed pruttned closed 3 years ago

pruttned commented 3 years ago

If you set the MyraEnvironment.LayoutScale, then it is applied to overall scale and positioning, but not in the case of Window.CenterOnDesktop. Thus, the window is placed to a wrong position.

https://github.com/rds1983/Myra/issues/271

pruttned commented 3 years ago

Wrong source branch