mirror of
https://github.com/osukey/osukey.git
synced 2025-05-23 06:27:24 +09: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 virtual void Add(DrawableHitObject h) => HitObjects.Add(h);
|
||||||
|
|
||||||
|
public override bool Contains(Vector2 screenSpacePos) => true;
|
||||||
|
|
||||||
public Playfield()
|
public Playfield()
|
||||||
{
|
{
|
||||||
AddInternal(HitObjects = new HitObjectContainer
|
AddInternal(HitObjects = new HitObjectContainer
|
||||||
@ -25,6 +27,8 @@ namespace osu.Game.Modes.UI
|
|||||||
public class HitObjectContainer : Container<DrawableHitObject>
|
public class HitObjectContainer : Container<DrawableHitObject>
|
||||||
{
|
{
|
||||||
protected override Vector2 DrawScale => new Vector2(DrawSize.X / 512);
|
protected override Vector2 DrawScale => new Vector2(DrawSize.X / 512);
|
||||||
|
|
||||||
|
public override bool Contains(Vector2 screenSpacePos) => true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user