Merge pull request #49 from jakobbouchard/fix-typos

Fix typo in Show Borders
This commit is contained in:
Arnaud Jamin authored and GitHub committed 2025-02-08 00:49:54 -05:00
commit 7e69b9cfbb
1 file changed
+1 -6
@@ -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);