From e325f3b6d97ccae4121482adca81feac21098106 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sun, 10 Sep 2023 16:32:52 -0700 Subject: [PATCH] differentiate the new region loading screen in the focus string --- docs/changelog.txt | 1 + library/modules/Gui.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/changelog.txt b/docs/changelog.txt index 3ac2e3c48..3ae9fd2a6 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -59,6 +59,7 @@ Template for new versions: ## Fixes - `buildingplan`: make the construction dimensions readout visible again - `seedwatch`: fix a crash when reading data saved by very very old versions of the plugin +- `gui/mod-manager`: don't continue to display overlay after the raws loading progress bar appears ## Misc Improvements - `sort`: sort by need for training on squad assignment screen diff --git a/library/modules/Gui.cpp b/library/modules/Gui.cpp index 4934c9787..9eee284ac 100644 --- a/library/modules/Gui.cpp +++ b/library/modules/Gui.cpp @@ -161,7 +161,9 @@ DEFINE_GET_FOCUS_STRING_HANDLER(title) DEFINE_GET_FOCUS_STRING_HANDLER(new_region) { - if (screen->doing_mods) + if (screen->raw_load) + focusStrings.push_back(baseFocus + "/Loading"); + else if (screen->doing_mods) focusStrings.push_back(baseFocus + "/Mods"); else if (screen->doing_simple_params) focusStrings.push_back(baseFocus + "/Basic");