Updated rainbow paint layout. (#350)

This commit is contained in:
aa15032261 2022-07-18 04:47:48 +08:00 committed by GitHub
parent ea7e189a20
commit 82d4e8fabd

View File

@ -133,13 +133,14 @@ namespace big
ImGui::Separator();
if (ImGui::TreeNode("Rainbow Paint"))
{
components::small_text("Rainbow Paint");
ImGui::Checkbox("Primary", &g->vehicle.rainbow_primary);
ImGui::SameLine();
ImGui::Checkbox("Neon", &g->vehicle.rainbow_neon);
ImGui::Checkbox("Secondary", &g->vehicle.rainbow_secondary);
ImGui::SameLine();
ImGui::Checkbox("Neon", &g->vehicle.rainbow_neon);
ImGui::SameLine();
ImGui::Checkbox("Smoke", &g->vehicle.rainbow_smoke);
if (g->vehicle.rainbow_primary || g->vehicle.rainbow_neon || g->vehicle.rainbow_secondary || g->vehicle.rainbow_smoke) {
@ -170,8 +171,6 @@ namespace big
ImGui::SliderInt("RGB Speed", &g->rgb.speed, 1, 10);
}
}
ImGui::TreePop();
}
ImGui::Separator();