Merge branch 'scale-default' of https://github.com/Tryibion/FlaxEngine into Tryibion-scale-default

This commit is contained in:
Wojtek Figat
2023-12-06 12:51:23 +01:00
2 changed files with 21 additions and 8 deletions

View File

@@ -98,8 +98,8 @@ namespace FlaxEngine.GUI
private float _scale = 1.0f;
private float _scaleFactor = 1.0f;
private float _physicalUnitSize = 1.0f;
private Float2 _resolutionMin = new Float2(1, 1);
private Float2 _resolutionMax = new Float2(10000, 10000);
private Float2 _resolutionMin = new Float2(640, 480);
private Float2 _resolutionMax = new Float2(7680, 4320);
/// <summary>
/// Gets the current UI scale. Computed based on the setup when performing layout.