mirror of
https://github.com/ppy/osu
synced 2025-01-12 09:09:44 +00:00
Fix footer buttons receiving input while put away from screen
This commit is contained in:
parent
b8816bfc28
commit
fb77260afc
@ -172,6 +172,9 @@ namespace osu.Game.Screens.Footer
|
||||
FinishTransforms(true);
|
||||
}
|
||||
|
||||
// use Content for tracking input as some buttons might be temporarily hidden with DisappearToBottom, and they become hidden by moving Content away from screen.
|
||||
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => Content.ReceivePositionalInputAt(screenSpacePos);
|
||||
|
||||
public GlobalAction? Hotkey;
|
||||
|
||||
protected override bool OnClick(ClickEvent e)
|
||||
|
Loading…
Reference in New Issue
Block a user