Change SampleControlPoint time to use leniency in bindable changed event too

This commit is contained in:
Dean Herbert 2021-09-14 16:24:55 +09:00
parent 5f61936700
commit a7ae3cc03e

View File

@ -97,9 +97,9 @@ namespace osu.Game.Rulesets.Objects
if (DifficultyControlPoint != DifficultyControlPoint.DEFAULT)
DifficultyControlPoint.Time = time.NewValue;
// traditionally this used EndTime, but at the point changes are being made in the editor this should no longer be considered relevant.
if (SampleControlPoint != SampleControlPoint.DEFAULT)
SampleControlPoint.Time = time.NewValue;
SampleControlPoint.Time = this.GetEndTime() + control_point_leniency;
};
}