Fix minor flicker when closing menus on the pause screen

This commit is contained in:
Henrik Rydgård
2026-02-18 15:40:55 +01:00
parent 2264711600
commit e1c80373d6
+2 -1
View File
@@ -758,7 +758,8 @@ void GamePauseScreen::dialogFinished(const Screen *dialog, DialogResult dr) {
} else {
if (tag == "Game") {
g_BackgroundAudio.SetGame(Path());
} else if (tag != "Prompt" && tag != "ContextMenuPopup") {
} else if (tag != "Prompt" && tag != "ContextMenuPopup" && tag != "ContextMenuCallbackPopup" && tag != "Report" && tag != "listpopup") {
// Maybe should invert the logic here, so many cases..
// There may have been changes to our savestates, so let's recreate.
RecreateViews();
}