From 51602c713a4e8adf6589350e846f3272fec689b9 Mon Sep 17 00:00:00 2001 From: William JCM Date: Fri, 14 Jan 2022 13:42:09 +0100 Subject: [PATCH] SaveTool: update layout. --- src/SaveTool/SaveTool_MainManager.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/SaveTool/SaveTool_MainManager.cpp b/src/SaveTool/SaveTool_MainManager.cpp index 96a470c..ce38c70 100644 --- a/src/SaveTool/SaveTool_MainManager.cpp +++ b/src/SaveTool/SaveTool_MainManager.cpp @@ -409,7 +409,7 @@ void SaveTool::drawMassManager() { ImGui::TableSetupColumn("##Hangar", ImGuiTableColumnFlags_WidthFixed); ImGui::TableSetupColumn("##MASSName", ImGuiTableColumnFlags_WidthStretch); ImGui::TableSetupColumn("##Active", ImGuiTableColumnFlags_WidthFixed); - ImGui::TableSetupColumn("##DeleteButton", ImGuiTableColumnFlags_WidthFixed); + ImGui::TableSetupColumn("##Buttons", ImGuiTableColumnFlags_WidthFixed); ImGui::TableSetupScrollFreeze(0, 1); @@ -504,6 +504,11 @@ void SaveTool::drawMassManager() { } ImGui::SameLine(0.0f, 2.0f); } + else{ + ImGui::PushStyleVar(ImGuiStyleVar_Alpha, 0.0f); + ImGui::SmallButton(ICON_FA_SEARCH); + ImGui::PopStyleVar(); + } if(drawUnsafeWidget(ImGui::SmallButton, ICON_FA_TRASH_ALT)) { mass_to_delete = i; ImGui::OpenPopup(mass_deletion_popup_ID);