1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

fix child size == 0 exception

This commit is contained in:
FreezyLemon 2018-01-07 00:53:44 +01:00
parent 35297f000c
commit 47f5b23dcf

View File

@ -78,7 +78,7 @@ namespace osu.Game.Rulesets.Mania.Tests
RelativeChildSize = new Vector2(1, 10000), RelativeChildSize = new Vector2(1, 10000),
Children = new[] Children = new[]
{ {
new DrawableHoldNote(new HoldNote(), ManiaAction.Key1) new DrawableHoldNote(new HoldNote { Duration = 1 }, ManiaAction.Key1)
{ {
Y = 5000, Y = 5000,
Height = 1000, Height = 1000,