mirror of
https://github.com/ppy/osu
synced 2025-03-05 02:49:30 +00:00
Allow binding to ControlPointGroup's ControlPoints
This commit is contained in:
parent
4290a71f44
commit
10033239c7
@ -2,8 +2,8 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using osu.Framework.Bindables;
|
||||||
|
|
||||||
namespace osu.Game.Beatmaps.ControlPoints
|
namespace osu.Game.Beatmaps.ControlPoints
|
||||||
{
|
{
|
||||||
@ -17,9 +17,9 @@ namespace osu.Game.Beatmaps.ControlPoints
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public double Time { get; }
|
public double Time { get; }
|
||||||
|
|
||||||
public IReadOnlyList<ControlPoint> ControlPoints => controlPoints;
|
public IBindableList<ControlPoint> ControlPoints => controlPoints;
|
||||||
|
|
||||||
private readonly List<ControlPoint> controlPoints = new List<ControlPoint>();
|
private readonly BindableList<ControlPoint> controlPoints = new BindableList<ControlPoint>();
|
||||||
|
|
||||||
public ControlPointGroup(double time)
|
public ControlPointGroup(double time)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user