Skip to content

Switch online play screens to new header#37074

Open
LiquidPL wants to merge 1 commit intoppy:masterfrom
LiquidPL:mp-screen-headers
Open

Switch online play screens to new header#37074
LiquidPL wants to merge 1 commit intoppy:masterfrom
LiquidPL:mp-screen-headers

Conversation

@LiquidPL
Copy link
Contributor

Specifically the one used on the daily challenge screen. Was bugging me that playlists/multi have that old yellow header design used, so I've changed it. Will probably come in handy once the footer/leaderboard changes are in.

Also localized the headers while at it.

Multiplayer:

osu_2026-03-23_20-03-22

Playlists:

osu_2026-03-23_20-34-18

The only thing I'm wondering about is whether the detail thing (participant count/playlist length) should be using the highlight colour here. The old design had them be yellow, but I feel like the pink on this one stands out too much.

Specifically the one used on the daily challenge screen.
Comment on lines +64 to +77
protected override void LoadComplete()
{
base.LoadComplete();

Details.BindValueChanged(updateDetails);
}

private void updateDetails(ValueChangedEvent<string> details)
{
if (detailsPart != null)
textFlow.RemovePart(detailsPart);

detailsPart = textFlow.AddText($" {details.NewValue}", t => t.Colour = colourProvider.Highlight1);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't do anything at all on non-online play screens which don't touch the bindable, but I still wonder if it'd be better to move this logic out to an online play specific class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant