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:
@@ -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[]
|
||||
|
||||
Reference in New Issue
Block a user