mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-05 19:19:43 -06:00
options_menu: append inaccessible reason to description (#446)
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user