Fix IDE0090

This commit is contained in:
RoosterDragon
2023-04-05 19:34:12 +01:00
committed by Pavel Penev
parent 164abfdae1
commit 8a285f9b19
385 changed files with 790 additions and 794 deletions

View File

@@ -15,16 +15,16 @@ namespace OpenRA
{
public class WorldViewportSizes : IGlobalModData
{
public readonly int2 CloseWindowHeights = new int2(480, 600);
public readonly int2 MediumWindowHeights = new int2(600, 900);
public readonly int2 FarWindowHeights = new int2(900, 1300);
public readonly int2 CloseWindowHeights = new(480, 600);
public readonly int2 MediumWindowHeights = new(600, 900);
public readonly int2 FarWindowHeights = new(900, 1300);
public readonly float DefaultScale = 1.0f;
public readonly float MaxZoomScale = 2.0f;
public readonly int MaxZoomWindowHeight = 240;
public readonly bool AllowNativeZoom = true;
public readonly Size MinEffectiveResolution = new Size(1024, 720);
public readonly Size MinEffectiveResolution = new(1024, 720);
public int2 GetSizeRange(WorldViewport distance)
{