mirror of
https://github.com/Ed94/Cog.git
synced 2026-08-02 04:38:15 +00:00
Fix inspected object tooltip being overridden
This commit is contained in:
@@ -172,17 +172,12 @@ void FCogEngineWindow_Inspector::RenderMenu()
|
|||||||
}
|
}
|
||||||
if (ImGui::IsItemHovered())
|
if (ImGui::IsItemHovered())
|
||||||
{
|
{
|
||||||
ImGui::SetTooltip("Current Inspected Object: %s", InspectedObjectName.Get());
|
ImGui::SetTooltip("%s", InspectedObjectName.Get());
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::PopStyleVar(1);
|
ImGui::PopStyleVar(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImGui::IsItemHovered())
|
|
||||||
{
|
|
||||||
ImGui::SetTooltip("%s", InspectedObjectName.Get());
|
|
||||||
}
|
|
||||||
|
|
||||||
ImGui::PopStyleColor(1);
|
ImGui::PopStyleColor(1);
|
||||||
ImGui::PopStyleVar(1);
|
ImGui::PopStyleVar(1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user