mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +08:00
Update to consume framework fixes
This commit is contained in:
parent
f9d6aed2df
commit
a11c74d600
@ -76,7 +76,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
private OsuButton deleteButton;
|
||||
private ControlPointTable table;
|
||||
|
||||
private BindableList<ControlPointGroup> controlGroups;
|
||||
private IBindableList<ControlPointGroup> controlGroups;
|
||||
|
||||
[Resolved]
|
||||
private EditorClock clock { get; set; }
|
||||
@ -141,8 +141,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
|
||||
selectedGroup.BindValueChanged(selected => { deleteButton.Enabled.Value = selected.NewValue != null; }, true);
|
||||
|
||||
// todo: remove cast after https://github.com/ppy/osu-framework/pull/3906 is merged
|
||||
controlGroups = (BindableList<ControlPointGroup>)Beatmap.Value.Beatmap.ControlPointInfo.Groups.GetBoundCopy();
|
||||
controlGroups = Beatmap.Value.Beatmap.ControlPointInfo.Groups.GetBoundCopy();
|
||||
|
||||
controlGroups.BindCollectionChanged((sender, args) =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user