Add UI Scale dropdown to the settings menu.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#endregion
|
||||
|
||||
using System.Collections.Generic;
|
||||
using OpenRA.Primitives;
|
||||
|
||||
namespace OpenRA
|
||||
{
|
||||
@@ -23,6 +24,8 @@ namespace OpenRA
|
||||
public readonly int MaxZoomWindowHeight = 240;
|
||||
public readonly bool AllowNativeZoom = true;
|
||||
|
||||
public readonly Size MinEffectiveResolution = new Size(1024, 720);
|
||||
|
||||
public int2 GetSizeRange(WorldViewport distance)
|
||||
{
|
||||
return distance == WorldViewport.Close ? CloseWindowHeights
|
||||
|
||||
Reference in New Issue
Block a user