1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Merge pull request #20294 from Joehuu/fix-notification-toasts-background-input

Fix notification overlay toast tray background absorbing input from behind
This commit is contained in:
Dean Herbert 2022-09-14 13:51:00 +09:00 committed by GitHub
commit b36a0fb559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,8 @@ namespace osu.Game.Overlays
{
public override bool IsPresent => toastContentBackground.Height > 0 || toastFlow.Count > 0;
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => toastFlow.ReceivePositionalInputAt(screenSpacePos);
public bool IsDisplayingToasts => toastFlow.Count > 0;
private FillFlowContainer<Notification> toastFlow = null!;