Determine size of ScrollingContainer a bit better to avoid taiko weirdness

This commit is contained in:
smoogipooo
2017-08-22 20:51:53 +09:00
parent db27551709
commit d080a7e970
4 changed files with 27 additions and 35 deletions

View File

@ -199,6 +199,8 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
base.Update();
Size = BaseSize * Parent.RelativeChildSize;
// Make the swell stop at the hit target
X = (float)Math.Max(Time.Current, HitObject.StartTime);