1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 20:22:55 +08:00

Fix dropped input outside of playfield.

This commit is contained in:
Thomas Müller 2016-12-11 10:09:58 +01:00
parent 2ced0a48e0
commit 882d5edf7d

View File

@ -35,6 +35,8 @@ namespace osu.Game.Modes.UI
public class ScaledContainer : Container public class ScaledContainer : Container
{ {
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;
} }
public class HitObjectContainer : Container<DrawableHitObject> public class HitObjectContainer : Container<DrawableHitObject>