Merge pull request #28686 from peppy/fix-summary-timeline-break-display

Fix summary timeline not correctly updating after changes to breaks
This commit is contained in:
Dan Balasescu 2024-07-01 10:03:16 +09:00 committed by GitHub
commit 2f9bce5274
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);