1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 02:59:53 +08:00

Use larger offset to ensure depth is still backmost even with DepthLayer is in use

This commit is contained in:
Dean Herbert
2025-05-16 19:08:54 +09:00
Unverified
parent a32da2ea10
commit bfc23c98f1
+1 -1
View File
@@ -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);