mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 04:53:12 +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));
|
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);
|
public void Delete(HitObject hitObject) => EditorBeatmap.Remove(hitObject);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user