1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 04:07:25 +08:00

Bypass masking checks for input on playfields.

This commit is contained in:
Dean Herbert 2016-11-24 18:58:06 +09:00
parent 97cf6008f3
commit 3dff72ac6c

View File

@ -14,6 +14,8 @@ namespace osu.Game.Modes.UI
public virtual void Add(DrawableHitObject h) => HitObjects.Add(h);
public override bool Contains(Vector2 screenSpacePos) => true;
public Playfield()
{
AddInternal(HitObjects = new HitObjectContainer
@ -25,6 +27,8 @@ namespace osu.Game.Modes.UI
public class HitObjectContainer : Container<DrawableHitObject>
{
protected override Vector2 DrawScale => new Vector2(DrawSize.X / 512);
public override bool Contains(Vector2 screenSpacePos) => true;
}
}
}