Describe the bug
When multiple modal popups are displayed at the same time, and one of them is closed by the user, the overlay is removed.
Launcher Version
The version where you've encountered the bug, and other versions that may be affected (if known).
Every version.
To Reproduce
Steps to reproduce the behavior:
(Windows only)
Open launcher
Click on an item in the installer screen so that a modal pops up
Right-click the play button so that the volcanic modal pops up too
Close the volcanic modal
See how the overlay is removed, even though there's still one more modal that hasn't been closed yet.
Expected behavior
The overlay should only be removed once every modal popup is closed.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. Windows]
Version: [e.g. 11]
Build: [e.g. 22000.376]
Additional context
This fix is client-side only (fsolauncher.pug/client.js)
Since only one overlay is created for all subsequent modals that display at the same time, when one is closed the single overlay is removed. It should check if there's still any other open modals before removing the overlay.
Describe the bug When multiple modal popups are displayed at the same time, and one of them is closed by the user, the overlay is removed.
Launcher Version The version where you've encountered the bug, and other versions that may be affected (if known). Every version.
To Reproduce Steps to reproduce the behavior: (Windows only)
Expected behavior The overlay should only be removed once every modal popup is closed.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context This fix is client-side only (fsolauncher.pug/client.js) Since only one overlay is created for all subsequent modals that display at the same time, when one is closed the single overlay is removed. It should check if there's still any other open modals before removing the overlay.