Fix UIControl location deserialization when using prefabs and anchors

#218
This commit is contained in:
Wojtek Figat
2021-03-17 11:55:17 +01:00
parent 0122bf68bf
commit 2a2d9f54de

View File

@@ -296,6 +296,9 @@ namespace FlaxEngine
if (_control != null)
{
Json.JsonSerializer.Deserialize(_control, json);
// Synchronize actor with control location
OnControlLocationChanged(_control);
}
}