Update framework

This commit is contained in:
Thomas Müller
2017-07-11 16:58:06 +03:00
committed by Dean Herbert
parent 39d20565aa
commit 9d523ea012
29 changed files with 54 additions and 59 deletions

View File

@ -58,7 +58,7 @@ namespace osu.Game.Graphics.UserInterface
Direction = Direction,
});
//I'm using ToList() here because Where() returns an Enumerable which can change it's elements afterwards
Remove(Children.Where((bar, index) => index >= value.Count()).ToList());
RemoveRange(Children.Where((bar, index) => index >= value.Count()).ToList());
}
}
}