Build viewer/editor #13
1 changed files with 6 additions and 1 deletions
|
@ -409,7 +409,7 @@ void SaveTool::drawMassManager() {
|
||||||
ImGui::TableSetupColumn("##Hangar", ImGuiTableColumnFlags_WidthFixed);
|
ImGui::TableSetupColumn("##Hangar", ImGuiTableColumnFlags_WidthFixed);
|
||||||
ImGui::TableSetupColumn("##MASSName", ImGuiTableColumnFlags_WidthStretch);
|
ImGui::TableSetupColumn("##MASSName", ImGuiTableColumnFlags_WidthStretch);
|
||||||
ImGui::TableSetupColumn("##Active", ImGuiTableColumnFlags_WidthFixed);
|
ImGui::TableSetupColumn("##Active", ImGuiTableColumnFlags_WidthFixed);
|
||||||
ImGui::TableSetupColumn("##DeleteButton", ImGuiTableColumnFlags_WidthFixed);
|
ImGui::TableSetupColumn("##Buttons", ImGuiTableColumnFlags_WidthFixed);
|
||||||
|
|
||||||
ImGui::TableSetupScrollFreeze(0, 1);
|
ImGui::TableSetupScrollFreeze(0, 1);
|
||||||
|
|
||||||
|
@ -504,6 +504,11 @@ void SaveTool::drawMassManager() {
|
||||||
}
|
}
|
||||||
ImGui::SameLine(0.0f, 2.0f);
|
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)) {
|
if(drawUnsafeWidget(ImGui::SmallButton, ICON_FA_TRASH_ALT)) {
|
||||||
mass_to_delete = i;
|
mass_to_delete = i;
|
||||||
ImGui::OpenPopup(mass_deletion_popup_ID);
|
ImGui::OpenPopup(mass_deletion_popup_ID);
|
||||||
|
|
Loading…
Reference in a new issue