1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 15:10:31 +08:00

Add inline comment explaining depth adjustment

This commit is contained in:
Dean Herbert
2025-05-27 16:24:28 +09:00
Unverified
parent 32044d745a
commit cc206fad11
+3
View File
@@ -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[]