Fix UI Controls layout auto-resizing to always use pivot-relative logic
#3031
This commit is contained in:
@@ -585,7 +585,8 @@ namespace FlaxEngine.GUI
|
||||
_cachedHeight = height;
|
||||
if (_animationProgress >= 1.0f && _isClosed)
|
||||
y = minHeight;
|
||||
Height = Mathf.Max(minHeight, y);
|
||||
var size = new Float2(Width, Mathf.Max(minHeight, y));
|
||||
Resize(ref size);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user