Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circle doesnt obey Masking of CircularContainer #6067

Closed
64ArthurAraujo opened this issue Nov 30, 2023 · 1 comment
Closed

Circle doesnt obey Masking of CircularContainer #6067

64ArthurAraujo opened this issue Nov 30, 2023 · 1 comment

Comments

@64ArthurAraujo
Copy link

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

@bdach
Copy link
Collaborator

bdach commented Dec 1, 2023

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

@bdach bdach closed this as completed Dec 1, 2023
@bdach bdach closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants