Updated rainbow paint layout. (#350)

This commit is contained in:
aa15032261 2022-07-18 04:47:48 +08:00 committed by GitHub
parent 6fd9054704
commit c9e6ed5db2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();