mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 04:52:54 +08:00
Change SampleControlPoint
time to use leniency in bindable changed event too
This commit is contained in:
parent
5f61936700
commit
a7ae3cc03e
@ -97,9 +97,9 @@ namespace osu.Game.Rulesets.Objects
|
|||||||
|
|
||||||
if (DifficultyControlPoint != DifficultyControlPoint.DEFAULT)
|
if (DifficultyControlPoint != DifficultyControlPoint.DEFAULT)
|
||||||
DifficultyControlPoint.Time = time.NewValue;
|
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)
|
if (SampleControlPoint != SampleControlPoint.DEFAULT)
|
||||||
SampleControlPoint.Time = time.NewValue;
|
SampleControlPoint.Time = this.GetEndTime() + control_point_leniency;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user