A game framework written with osu! in mind.

Keep anchor and origin when wrapping drawable inside a container

-2
-2
osu.Framework/Graphics/Containers/ContainerExtensions.cs
··· 39 39 40 40 drawable.Position = Vector2.Zero; 41 41 drawable.Rotation = 0; 42 - drawable.Anchor = Anchor.TopLeft; 43 - drawable.Origin = Anchor.TopLeft; 44 42 45 43 // For anchor/origin positioning to be preserved correctly, 46 44 // relatively sized axes must be lifted to the wrapping container.