1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:02:55 +08:00

Fix notification overlay toast tray background absorbing input from behind

This commit is contained in:
Joseph Madamba 2022-09-13 21:07:30 -07:00
parent ef6d60ffe9
commit 85e3a681b1

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!;