Merge branch 'fix-uieditor-null' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-uieditor-null
This commit is contained in:
@@ -723,10 +723,13 @@ namespace FlaxEditor.CustomEditors.Dedicated
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Refresh anchors
|
// Refresh anchors
|
||||||
GetAnchorEquality(out bool xEq, out bool yEq, ValuesTypes);
|
if (Values != null && Values[0] != null)
|
||||||
if (xEq != _cachedXEq || yEq != _cachedYEq)
|
|
||||||
{
|
{
|
||||||
RebuildLayout();
|
GetAnchorEquality(out bool xEq, out bool yEq, ValuesTypes);
|
||||||
|
if (xEq != _cachedXEq || yEq != _cachedYEq)
|
||||||
|
{
|
||||||
|
RebuildLayout();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
base.Refresh();
|
base.Refresh();
|
||||||
|
|||||||
Reference in New Issue
Block a user