mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 13:27:58 +03:00
options_menu: append inaccessible reason to description (#446)
This commit is contained in:
parent
db76ffa5b3
commit
ae3dfb12df
1 changed files with 2 additions and 3 deletions
|
@ -1458,7 +1458,7 @@ static void DrawInfoPanel(ImVec2 infoMin, ImVec2 infoMax)
|
|||
|
||||
if (g_inaccessibleReason)
|
||||
{
|
||||
desc = *g_inaccessibleReason;
|
||||
desc += "\n\n" + *g_inaccessibleReason;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1476,10 +1476,9 @@ static void DrawInfoPanel(ImVec2 infoMin, ImVec2 infoMax)
|
|||
}
|
||||
|
||||
const auto& valueDescription = g_selectedItem->GetValueDescription(Config::Language);
|
||||
|
||||
if (!valueDescription.empty())
|
||||
{
|
||||
desc += "\n\n" + valueDescription;
|
||||
}
|
||||
}
|
||||
|
||||
clipRectMin = { clipRectMin.x, thumbnailMax.y };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue