mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09: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:
commit
b36a0fb559
@ -26,6 +26,8 @@ namespace osu.Game.Overlays
|
|||||||
{
|
{
|
||||||
public override bool IsPresent => toastContentBackground.Height > 0 || toastFlow.Count > 0;
|
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;
|
public bool IsDisplayingToasts => toastFlow.Count > 0;
|
||||||
|
|
||||||
private FillFlowContainer<Notification> toastFlow = null!;
|
private FillFlowContainer<Notification> toastFlow = null!;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user