1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

Fix incorrect RelativeChildSize in Catch

This commit is contained in:
smoogipoo 2018-02-21 20:15:42 +09:00
parent 4934ef7429
commit 6757be2007

View File

@ -79,7 +79,7 @@ namespace osu.Game.Rulesets.UI
protected override void Update()
{
base.Update();
RelativeChildSize = sizeScale;
RelativeChildSize = new Vector2(CustomWidth.HasValue ? sizeScale.X : RelativeChildSize.X, CustomHeight.HasValue ? sizeScale.Y : RelativeChildSize.Y);
}
}
}