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

Unbind bindable lists for general safety

This commit is contained in:
Bartłomiej Dach 2020-11-07 20:59:41 +01:00
parent e078b78dcc
commit ddbd6df24d
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
{
base.LoadBeatmap(beatmap);
controlPointGroups.UnbindAll();
controlPointGroups.BindTo(beatmap.Beatmap.ControlPointInfo.Groups);
controlPointGroups.BindCollectionChanged((sender, args) =>
{

View File

@ -27,6 +27,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
{
base.LoadBeatmap(beatmap);
controlPointGroups.UnbindAll();
controlPointGroups.BindTo(beatmap.Beatmap.ControlPointInfo.Groups);
controlPointGroups.BindCollectionChanged((sender, args) =>
{