Add Graphics.UIScale setting to modify UI size.

This commit is contained in:
Paul Chote
2019-12-25 18:00:04 +00:00
committed by teinarss
parent ce445f993c
commit 6388a6bff4
12 changed files with 78 additions and 42 deletions

View File

@@ -98,8 +98,8 @@ namespace OpenRA.Platforms.Default
if (height < 0)
height = 0;
var windowSize = window.WindowSize;
var windowScale = window.WindowScale;
var windowSize = window.EffectiveWindowSize;
var windowScale = window.EffectiveWindowScale;
var surfaceSize = window.SurfaceSize;
if (windowSize != surfaceSize)