Fix test failures

This commit is contained in:
Dean Herbert
2020-05-20 15:01:32 +09:00
parent d31a59b074
commit 0bc3073d49
2 changed files with 10 additions and 6 deletions

View File

@ -180,7 +180,7 @@ namespace osu.Game.Rulesets.Mania.Edit
foreach (var grid in grids)
{
foreach (var line in grid.AliveObjects.OfType<DrawableGridLine>())
foreach (var line in grid.Objects.OfType<DrawableGridLine>())
{
Vector2 linePos = line.ToSpaceOfOtherDrawable(line.OriginPosition, this);
float d = Vector2.Distance(position, linePos);