Remove necessity of AutoGenerated flag

This commit is contained in:
Dean Herbert
2019-10-25 17:00:23 +09:00
parent 94ffe03e6e
commit da6769f0fc
7 changed files with 56 additions and 33 deletions

View File

@ -228,7 +228,7 @@ namespace osu.Game.Screens.Edit.Timing
selectedPoints.BindValueChanged(points =>
{
ControlPoint.Value = points.NewValue?.OfType<T>().Where(p => !p.AutoGenerated).FirstOrDefault();
ControlPoint.Value = points.NewValue?.OfType<T>().FirstOrDefault();
checkbox.Current.Value = ControlPoint.Value != null;
}, true);