Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix depth ordering in new carousel not being relative to selected item #31776

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

frenzibyte
Copy link
Member

@frenzibyte frenzibyte commented Feb 3, 2025

Noticed while working on #31774. This makes it match lazer behaviour.

Another thing that should eventually be done is that the depth ordering should also consider the type of carousel item, so that difficulty panels are always displayed behind set panels, otherwise they may appear on top of set panels during motion (i.e. when expanding/collapsing a set).

Before (with #31774 checked out):

CleanShot 2025-02-03 at 02 39 05

After (with #31774 checked out):

CleanShot 2025-02-03 at 02 38 17

@peppy
Copy link
Member

peppy commented Feb 4, 2025

I probably would have asked to get the full depth implemented (ie giving individual panel types the ability to be depth'd differently) but let's get this in as a starting point.

@peppy peppy merged commit ec88c5e into ppy:master Feb 4, 2025
10 checks passed
@frenzibyte frenzibyte deleted the carousel-v2-depth-ordering branch February 4, 2025 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants