From bfc23c98f1c7cf2135209ef6efb90fdc4f44bb07 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 16 May 2025 19:08:54 +0900 Subject: [PATCH] Use larger offset to ensure depth is still backmost even with `DepthLayer` is in use --- osu.Game/Graphics/Carousel/Carousel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Graphics/Carousel/Carousel.cs b/osu.Game/Graphics/Carousel/Carousel.cs index 09f8962632..37d69dab89 100644 --- a/osu.Game/Graphics/Carousel/Carousel.cs +++ b/osu.Game/Graphics/Carousel/Carousel.cs @@ -773,7 +773,7 @@ namespace osu.Game.Graphics.Carousel var carouselPanel = (ICarouselPanel)panel; // expired panels should have a depth behind all other panels to make the transition not look weird. - Scroll.Panels.ChangeChildDepth(panel, panel.Depth + 1); + Scroll.Panels.ChangeChildDepth(panel, panel.Depth + 1024); panel.FadeOut(150, Easing.OutQuint); panel.MoveToX(panel.X + 100, 200, Easing.Out);