From 87c093277cdd460d82ece7794368a10aebb7b0b3 Mon Sep 17 00:00:00 2001 From: Jakob Bouchard Date: Thu, 6 Feb 2025 14:28:59 -0500 Subject: [PATCH 1/2] Fix typo in Show Borders --- .../Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp b/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp index 1c0785c..c731ac5 100644 --- a/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp +++ b/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp @@ -273,7 +273,7 @@ void FCogEngineWindow_Inspector::RenderMenu() ImGui::Checkbox("Sort by Name", &Config->bSortByName); ImGui::Checkbox("Show Background", &Config->bShowRowBackground); - ImGui::Checkbox("Show Sorders", &Config->bShowBorders); + ImGui::Checkbox("Show Borders", &Config->bShowBorders); #if WITH_EDITORONLY_DATA ImGui::Checkbox("Show Display Name", &Config->bShowDisplayName); ImGui::Checkbox("Show Categories", &Config->bShowCategories); From b1920a3dc8db7e4a0fbcdf5a04b73beb1bab4a09 Mon Sep 17 00:00:00 2001 From: Jakob Bouchard Date: Thu, 6 Feb 2025 14:29:34 -0500 Subject: [PATCH 2/2] Fix inspected object tooltip being overridden --- .../Source/CogEngine/Private/CogEngineWindow_Inspector.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp b/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp index c731ac5..844e4a7 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);