Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix confirm exit dialog potentially showing incorrect number of ongoing operations #28808

Merged
merged 4 commits into from
Jul 12, 2024

Conversation

frenzibyte
Copy link
Member

@frenzibyte frenzibyte commented Jul 10, 2024

When a notification in the toast tray undergoes an animation to be automatically forwarded to the overlay, it is temporarily removed from the toastFlow container for the flow layout logic to not interfere with the animation. However, NotificationOverlayToastTray.Notifications (which is what the confirm exit dialog ultimately uses to read the notifications) only point at the children of toastFlow, therefore it can be inaccurate.

@bdach bdach self-requested a review July 11, 2024 06:36
I can see `IsDisplayingToast` being removed and `IsPresent` becoming `=> Notifications.Any()` but I'll just leave this for another day.
@pull-request-size pull-request-size bot added size/S and removed size/M labels Jul 11, 2024
@bdach bdach merged commit 452fbed into ppy:master Jul 12, 2024
9 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants