diff --git a/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp b/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp index 5fc4e52..5fbb518 100644 --- a/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp +++ b/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp @@ -172,17 +172,12 @@ void FCogEngineWindow_Inspector::RenderMenu() } if (ImGui::IsItemHovered()) { - ImGui::SetTooltip("Current Inspected Object: %s", InspectedObjectName.Get()); + ImGui::SetTooltip("%s", InspectedObjectName.Get()); } ImGui::PopStyleVar(1); } - if (ImGui::IsItemHovered()) - { - ImGui::SetTooltip("%s", InspectedObjectName.Get()); - } - ImGui::PopStyleColor(1); ImGui::PopStyleVar(1);