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 8bc6648100
commit 1eae251012
28 changed files with 415 additions and 381 deletions

View File

@ -8,7 +8,7 @@ namespace big
{
ImGui::BeginGroup();
components::sub_title("Kick");
if (ImGui::ListBoxHeader("##kick", get_listbox_dimensions()))
if (ImGui::BeginListBox("##kick", get_listbox_dimensions()))
{
auto const is_session_host = [] {
return gta_util::get_network()->m_game_session_ptr->is_host();
@ -39,7 +39,7 @@ namespace big
ImGui::SameLine();
components::player_command_button<"desync">(g_player_service->get_selected());
ImGui::ListBoxFooter();
ImGui::EndListBox();
}
ImGui::EndGroup();