mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Bypass masking checks for input on playfields.
This commit is contained in:
parent
97cf6008f3
commit
3dff72ac6c
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user