Fix hitobjects in scrolling rulesets getting masked away

This commit is contained in:
smoogipoo 2018-09-12 15:09:10 +09:00
parent 5e5a74293e
commit 356a60b561
1 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,8 @@
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Primitives;
using osu.Game.Audio;
using osu.Game.Graphics;
using osu.Game.Rulesets.Judgements;
@ -165,6 +167,14 @@ protected override void Update()
}
}
public override bool UpdateSubTreeMasking(Drawable source, RectangleF maskingBounds)
{
if (!AllJudged)
return false;
return base.UpdateSubTreeMasking(source, maskingBounds);
}
protected override void UpdateAfterChildren()
{
base.UpdateAfterChildren();