mirror of https://github.com/ppy/osu
Fix hitobjects in scrolling rulesets getting masked away
This commit is contained in:
parent
5e5a74293e
commit
356a60b561
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue