mirror of
https://github.com/ppy/osu.git
synced 2026-06-01 01:10:22 +08:00
4ebd97b804
Beatmap panels can be visible for very brief instants. `PanelSetBackground` has a backstop to prevent expensive background loads which is based on the position of the panel relative to centre of screen. However, retrieving the working beatmap that *precedes* any of that expensive background load logic, is *also* expensive, and *always* runs even if a panel is visible on screen for only a brief second. Therefore, by moving some of that background load delay towards delaying retrieving the working beatmap, we can save on doing even more work, which has beneficial implications for performance.
4ebd97b804
·
2025-10-22 11:00:20 +02:00
History