18 lines
668 B
Plaintext
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)
|
|
{
|