mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +08:00
Fix placement container not being refreshed upon placement
This commit is contained in:
parent
d36ac59ca2
commit
6eb7a030d0
@ -149,7 +149,11 @@ namespace osu.Game.Rulesets.Edit
|
||||
/// Adds a <see cref="HitObject"/> to the <see cref="Beatmaps.Beatmap"/> and visualises it.
|
||||
/// </summary>
|
||||
/// <param name="hitObject">The <see cref="HitObject"/> to add.</param>
|
||||
public void Add(HitObject hitObject) => maskLayer.AddMaskFor(rulesetContainer.Add(hitObject));
|
||||
public void Add(HitObject hitObject)
|
||||
{
|
||||
maskLayer.AddMaskFor(rulesetContainer.Add(hitObject));
|
||||
placementContainer.Refresh();
|
||||
}
|
||||
|
||||
internal abstract EditRulesetContainer CreateRulesetContainer();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user