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 beatmap backgrounds loading default briefly before final display #28079

Merged
merged 3 commits into from
May 3, 2024

Conversation

peppy
Copy link
Member

@peppy peppy commented May 3, 2024

Due to the way ModelBackedDrawable works, the default starts to get loaded even though a final Beatmap has been set. This avoids loading the default fallback unless a beatmap has been set (and has no background itself).

Before After
2024-05-03 13 47 07 2024-05-03 13 46 04

Due to the way `ModelBackedDrawable` works, the default starts to get
loaded even though a final `Beatmap` has been set. This avoids loading
the default fallback unless a beatmap has been set (and has no
background itself).
@bdach bdach enabled auto-merge May 3, 2024 06:19
@bdach bdach merged commit aecfcc8 into ppy:master May 3, 2024
9 of 11 checks passed
@peppy peppy deleted the fix-double-load-playlist-backgrounds branch May 4, 2024 04:28
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