1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 07:02:57 +08:00

Fix summary timeline not correctly updating after changes to breaks

Closes https://github.com/ppy/osu/issues/28678.

Oops.
This commit is contained in:
Dean Herbert 2024-06-30 20:32:16 +09:00
parent 18f4fac4c1
commit 8bb51d5a4f
No known key found for this signature in database

View File

@ -25,6 +25,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
breaks.BindTo(beatmap.Breaks);
breaks.BindCollectionChanged((_, _) =>
{
Clear();
foreach (var breakPeriod in beatmap.Breaks)
Add(new BreakVisualisation(breakPeriod));
}, true);