mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00: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)
|
if (g_inaccessibleReason)
|
||||||
{
|
{
|
||||||
desc = *g_inaccessibleReason;
|
desc += "\n\n" + *g_inaccessibleReason;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -1476,10 +1476,9 @@ static void DrawInfoPanel(ImVec2 infoMin, ImVec2 infoMax)
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto& valueDescription = g_selectedItem->GetValueDescription(Config::Language);
|
const auto& valueDescription = g_selectedItem->GetValueDescription(Config::Language);
|
||||||
|
|
||||||
if (!valueDescription.empty())
|
if (!valueDescription.empty())
|
||||||
{
|
|
||||||
desc += "\n\n" + valueDescription;
|
desc += "\n\n" + valueDescription;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
clipRectMin = { clipRectMin.x, thumbnailMax.y };
|
clipRectMin = { clipRectMin.x, thumbnailMax.y };
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue