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:
parent
ef6d60ffe9
commit
85e3a681b1
@ -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!;
|
||||
|
Loading…
Reference in New Issue
Block a user