mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 09:02:55 +08:00
Advance editor clock after a snapped placement
This commit is contained in:
parent
eaf2123142
commit
f3ddc4c00b
@ -40,6 +40,9 @@ namespace osu.Game.Rulesets.Edit
|
||||
[Resolved]
|
||||
protected IFrameBasedClock EditorClock { get; private set; }
|
||||
|
||||
[Resolved]
|
||||
private IAdjustableClock adjustableClock { get; set; }
|
||||
|
||||
[Resolved]
|
||||
private BindableBeatDivisor beatDivisor { get; set; }
|
||||
|
||||
@ -256,6 +259,9 @@ namespace osu.Game.Rulesets.Edit
|
||||
public void EndPlacement(HitObject hitObject)
|
||||
{
|
||||
EditorBeatmap.Add(hitObject);
|
||||
|
||||
adjustableClock.Seek(hitObject.StartTime);
|
||||
|
||||
showGridFor(Enumerable.Empty<HitObject>());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user