Fix footer buttons receiving input while put away from screen

This commit is contained in:
Salman Ahmed 2024-06-29 10:06:49 +03:00
parent b8816bfc28
commit fb77260afc

View File

@ -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)