feat(Outfit Editor): Add [+] & [-] buttons (#1441)

* And other general UI improvements
This commit is contained in:
tupoy-ya
2023-06-23 13:44:06 +05:00
committed by GitHub
parent ef86872235
commit e0bd043588
28 changed files with 415 additions and 381 deletions

View File

@ -6,7 +6,7 @@ namespace big
{
ImGui::BeginGroup();
components::sub_title("Vehicle");
if (ImGui::ListBoxHeader("##veh", get_listbox_dimensions()))
if (ImGui::BeginListBox("##veh", get_listbox_dimensions()))
{
components::player_command_button<"vehkick">(g_player_service->get_selected(), {});
ImGui::SameLine();
@ -42,7 +42,7 @@ namespace big
components::player_command_button<"rcplayer">(g_player_service->get_selected());
ImGui::ListBoxFooter();
ImGui::EndListBox();
}
ImGui::EndGroup();
}