mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 07:22:54 +08:00
Remove unnecessary bindable cast
This commit is contained in:
parent
49a2173646
commit
f1d4902be5
@ -47,7 +47,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
private double selectedGroupStartTime;
|
||||
private double selectedGroupEndTime;
|
||||
|
||||
private readonly BindableList<ControlPointGroup> controlPointGroups = new BindableList<ControlPointGroup>();
|
||||
private readonly IBindableList<ControlPointGroup> controlPointGroups = new BindableList<ControlPointGroup>();
|
||||
|
||||
public WaveformComparisonDisplay()
|
||||
{
|
||||
@ -83,7 +83,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
|
||||
selectedGroup.BindValueChanged(_ => updateTimingGroup(), true);
|
||||
|
||||
((IBindableList<ControlPointGroup>)controlPointGroups).BindTo(editorBeatmap.ControlPointInfo.Groups);
|
||||
controlPointGroups.BindTo(editorBeatmap.ControlPointInfo.Groups);
|
||||
controlPointGroups.BindCollectionChanged((_, __) => updateTimingGroup());
|
||||
|
||||
beatLength.BindValueChanged(_ => showFrom(lastDisplayedBeatIndex), true);
|
||||
|
Loading…
Reference in New Issue
Block a user