Skip to content

Commit

Permalink
Merge pull request #3853 from myk002/myk_focus
Browse files Browse the repository at this point in the history
[Gui] more focus string details for location selector
  • Loading branch information
myk002 authored Oct 8, 2023
2 parents c4b3117 + d0ffd78 commit fc8f2e7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion library/modules/Gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,13 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
}
if (game->main_interface.location_selector.open) {
newFocusString = baseFocus;
newFocusString += "/LocationSelector";
newFocusString += "/LocationSelector/";
if (game->main_interface.location_selector.choosing_temple_religious_practice)
newFocusString += "Temple";
else if (game->main_interface.location_selector.choosing_craft_guild)
newFocusString += "Guildhall";
else
newFocusString += "Default";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.location_details.open) {
Expand Down

0 comments on commit fc8f2e7

Please sign in to comment.