Fix focus when using CanvasScaler

This commit is contained in:
Wojtek Figat
2023-02-10 16:31:06 +01:00
parent 6fb1e749bc
commit 9c98d9d01e

View File

@@ -279,6 +279,7 @@ namespace FlaxEngine.GUI
// Fill the canvas by default // Fill the canvas by default
Offsets = Margin.Zero; Offsets = Margin.Zero;
AnchorPreset = AnchorPresets.StretchAll; AnchorPreset = AnchorPresets.StretchAll;
AutoFocus = false;
} }
/// <summary> /// <summary>