Files
FlaxEngine/Source/Engine/UI/GUI/Control.Bounds.cs.rej
2021-04-06 16:54:22 +02:00

18 lines
668 B
Plaintext

diff a/Source/Engine/UI/GUI/Control.Bounds.cs b/Source/Engine/UI/GUI/Control.Bounds.cs (rejected hunks)
@@ -485,13 +485,13 @@
_anchorMin = anchorMin;
_anchorMax = anchorMax;
- if (preserveBounds)
+ if (!centerToPosition)
{
UpdateBounds();
Bounds = bounds;
}
}
- if (!preserveBounds)
+ if (centerToPosition)
{
if (_parent != null)
{