From cc206fad11511dd1953af37bf4fd2995cabecb42 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 27 May 2025 16:24:28 +0900 Subject: [PATCH] Add inline comment explaining depth adjustment --- osu.Game/Screens/SelectV2/SongSelect.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osu.Game/Screens/SelectV2/SongSelect.cs b/osu.Game/Screens/SelectV2/SongSelect.cs index 293b67dc77..49fa4806de 100644 --- a/osu.Game/Screens/SelectV2/SongSelect.cs +++ b/osu.Game/Screens/SelectV2/SongSelect.cs @@ -157,6 +157,9 @@ namespace osu.Game.Screens.SelectV2 new Container { RelativeSizeAxes = Axes.Both, + // Ensure the left components are on top of the carousel both visually (although they should never overlay) + // but more importantly, for input purposes to allow the scroll-to-selection logic to override carousel's + // screen-wide scroll handling. Depth = float.MinValue, Shear = OsuGame.SHEAR, Children = new Drawable[]