Updated rainbow paint layout. (#350)
This commit is contained in:
parent
6fd9054704
commit
c9e6ed5db2
@ -133,13 +133,14 @@ namespace big
|
|||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
|
||||||
if (ImGui::TreeNode("Rainbow Paint"))
|
components::small_text("Rainbow Paint");
|
||||||
{
|
|
||||||
ImGui::Checkbox("Primary", &g->vehicle.rainbow_primary);
|
ImGui::Checkbox("Primary", &g->vehicle.rainbow_primary);
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Checkbox("Neon", &g->vehicle.rainbow_neon);
|
|
||||||
ImGui::Checkbox("Secondary", &g->vehicle.rainbow_secondary);
|
ImGui::Checkbox("Secondary", &g->vehicle.rainbow_secondary);
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
ImGui::Checkbox("Neon", &g->vehicle.rainbow_neon);
|
||||||
|
ImGui::SameLine();
|
||||||
ImGui::Checkbox("Smoke", &g->vehicle.rainbow_smoke);
|
ImGui::Checkbox("Smoke", &g->vehicle.rainbow_smoke);
|
||||||
|
|
||||||
if (g->vehicle.rainbow_primary || g->vehicle.rainbow_neon || g->vehicle.rainbow_secondary || 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::SliderInt("RGB Speed", &g->rgb.speed, 1, 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ImGui::TreePop();
|
|
||||||
}
|
|
||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user