ppy/osu-framework

Circle doesnt obey Masking of CircularContainer

64ArthurAraujo opened this issue · 1 comments

Differently from other shapes circles doesn't follow the masking of the circular container and appears to be in a square container, basically what i was trying to do is something similar to the lazer's logo triangles but with circles.

new CircularContainer
{
	Anchor = Anchor.Centre,
        Origin = Anchor.Centre,
        Masking = true,
        Y = 0,
	X = 0,
        Size = Size,
        Children = new Drawable[]
        {
        	new Circle {
                        Anchor = Anchor.TopCentre,
                        Origin = Anchor.TopCentre,
                        Colour = Color4.DarkRed,
                        Y = -12.5f,
                	Size = new Vector2(64, 64)
		}
        }
}

Captura de tela de 2023-11-30 10-53-14 Captura de tela de 2023-11-30 10-53-35 Captura de tela de 2023-11-30 10-53-50

Mostly duplicate of #2107. The recommended workaround is to use a BufferedContainer.