1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-22 00:07:19 +08:00

Revert Debug.Assert

This commit is contained in:
Dean Herbert 2023-01-10 17:52:28 +09:00
parent 93038ce496
commit d53dafa29f

View File

@ -126,7 +126,7 @@ namespace osu.Game.Screens.Select.Carousel
protected virtual void ApplyState()
{
if (Item == null) return;
Debug.Assert(Item != null);
// Use the fact that we know the precise height of the item from the model to avoid the need for AutoSize overhead.
// Additionally, AutoSize doesn't work well due to content starting off-screen and being masked away.