mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 23:00:48 +08:00
Remove objects when polygon is invalid
This commit is contained in:
@@ -172,6 +172,8 @@ namespace osu.Game.Rulesets.Osu.Edit
|
||||
if (position.X < 0 || position.Y < 0 || position.X > OsuPlayfield.BASE_SIZE.X || position.Y > OsuPlayfield.BASE_SIZE.Y)
|
||||
{
|
||||
commitButton.Enabled.Value = false;
|
||||
editorBeatmap.RemoveRange(insertedCircles);
|
||||
insertedCircles.Clear();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user