1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 05:39:57 +08:00

Fix pause overlay hiding input from ruleset input manager

If a key is pressed while the pause overlay is visible, the ruleset input manager will not see it, therefore if the user resumes while the key is held then releases the key, the ruleset input manager will not receive the key up event.
This commit is contained in:
Salman Ahmed
2024-07-19 18:18:37 +03:00
Unverified
parent 4f6c7fe7c3
commit 818b60a3d8
@@ -32,8 +32,6 @@ namespace osu.Game.Screens.Play
private const int button_height = 70;
private const float background_alpha = 0.75f;
protected override bool BlockNonPositionalInput => true;
protected override bool BlockScrollInput => false;
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => true;