mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Make BeginPlacement() set the hitobject start time
This commit is contained in:
@ -91,8 +91,10 @@ namespace osu.Game.Rulesets.Edit
|
||||
/// <summary>
|
||||
/// Signals that the placement of <see cref="HitObject"/> has started.
|
||||
/// </summary>
|
||||
protected void BeginPlacement()
|
||||
/// <param name="startTime">The start time of <see cref="HitObject"/> at the placement point. If null, the current clock time is used.</param>
|
||||
protected void BeginPlacement(double? startTime = null)
|
||||
{
|
||||
HitObject.StartTime = startTime ?? EditorClock.CurrentTime;
|
||||
placementHandler.BeginPlacement(HitObject);
|
||||
PlacementBegun = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user