Merge branch 'Tryibion-clamp-anchors'

This commit is contained in:
Wojtek Figat
2025-01-26 22:05:40 +01:00

View File

@@ -50,7 +50,7 @@ namespace FlaxEngine.GUI
/// <summary> /// <summary>
/// Gets or sets the normalized position in the parent control that the upper left corner is anchored to (range 0-1). /// Gets or sets the normalized position in the parent control that the upper left corner is anchored to (range 0-1).
/// </summary> /// </summary>
[Serialize, HideInEditor] [Serialize, HideInEditor, Limit(0, 1, 0.01f)]
public Float2 AnchorMin public Float2 AnchorMin
{ {
get => _anchorMin; get => _anchorMin;
@@ -69,7 +69,7 @@ namespace FlaxEngine.GUI
/// <summary> /// <summary>
/// Gets or sets the normalized position in the parent control that the bottom right corner is anchored to (range 0-1). /// Gets or sets the normalized position in the parent control that the bottom right corner is anchored to (range 0-1).
/// </summary> /// </summary>
[Serialize, HideInEditor] [Serialize, HideInEditor, Limit(0, 1, 0.01f)]
public Float2 AnchorMax public Float2 AnchorMax
{ {
get => _anchorMax; get => _anchorMax;