1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 03:42:58 +08:00
osu-lazer/osu.Game/Screens
Bartłomiej Dach cd1f6b46c4
Fix crash after changing audio track in editor
Closes https://github.com/ppy/osu/issues/26213.

Reproduction scenario: switch audio track in editor after timeline
loads.

Happens because `beatmap.Value.Track.Length` is 0 immediately after a
track switch, until BASS computes the actual track length on the audio
thread.

Yes this is a hack. No I have no better immediate ideas how to address
this otherwise.
2023-12-29 10:37:36 +01:00
..
Backgrounds Use alternative method of scheduling storyboard unload 2023-11-16 15:37:53 +09:00
Edit Fix crash after changing audio track in editor 2023-12-29 10:37:36 +01:00
Import Merge branch 'master' into update-framework 2022-11-26 16:19:36 +01:00
Menu Make menu tip about mod select more up to date. 2023-12-29 08:51:54 +08:00
OnlinePlay Remove unused class 2023-12-05 12:43:32 +01:00
Play Fix test failures due to player bailing early after failing to load beatmap 2023-12-28 14:15:15 +01:00
Ranking Reorder badges so that SS shows above others 2023-11-29 20:29:52 +09:00
Select Fix song select leaderboard tab ordering not matching stable 2023-12-28 14:13:35 +09:00
Spectate Add visualisation of when a spectated player fails 2023-11-24 14:44:57 +09:00
Utility Calculate unstable rate using rate-adjusted offsets 2023-11-10 19:57:44 -08:00
BackgroundScreen.cs Unload beatmap storyboard background when no longer present 2023-11-09 17:20:11 +03:00
BackgroundScreenStack.cs Use alternative method of scheduling storyboard unload 2023-11-16 15:37:53 +09:00
IHandlePresentBeatmap.cs Automated pass 2023-06-24 01:00:03 +09:00
IHasSubScreenStack.cs Automated pass 2023-06-24 01:00:03 +09:00
IOsuScreen.cs Allow screens to change the ability to interact with the global track 2023-07-25 20:20:53 +09:00
IPerformFromScreenRunner.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
Loader.cs Remove disclaimer screen completely 2023-12-28 17:21:29 +09:00
OsuScreen.cs Fix various other inspections 2023-10-17 17:48:51 +09:00
OsuScreenDependencies.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuScreenStack.cs Manual fixes to reduce warnings to zero 2023-06-24 01:52:53 +09:00
ScorePresentType.cs Remove redundant nullable suppression directives 2023-06-07 08:20:41 +03:00
ScreenWhiteBox.cs Partial everything 2022-11-27 00:00:27 +09:00
StartupScreen.cs Automated pass 2023-06-24 01:00:03 +09:00