mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:43:04 +08:00
Refresh the grid after a placement
This commit is contained in:
parent
5dd5a070e0
commit
190a83da6e
@ -244,7 +244,11 @@ namespace osu.Game.Rulesets.Edit
|
||||
hitObject.StartTime = GetSnappedTime(hitObject.StartTime, distanceSnapGrid.ToLocalSpace(inputManager.CurrentState.Mouse.Position));
|
||||
}
|
||||
|
||||
public void EndPlacement(HitObject hitObject) => EditorBeatmap.Add(hitObject);
|
||||
public void EndPlacement(HitObject hitObject)
|
||||
{
|
||||
EditorBeatmap.Add(hitObject);
|
||||
showGridFor(Enumerable.Empty<HitObject>());
|
||||
}
|
||||
|
||||
public void Delete(HitObject hitObject) => EditorBeatmap.Remove(hitObject);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user