mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-19 07:28:04 +08:00
Update tab_settings.cpp
fix(GUI): using ImGui::TreeNode and ImGui::TreePop in settings.cpp
This commit is contained in:
parent
f1bfa8e22d
commit
cea523f391
@ -6,8 +6,8 @@ namespace big
|
||||
{
|
||||
if (ImGui::BeginTabItem("Settings"))
|
||||
{
|
||||
ImGui::Text("Protections:");
|
||||
|
||||
if (ImGui::TreeNode("Protections"))
|
||||
{
|
||||
ImGui::Checkbox("Bounty", &g.protections.script_events.bounty);
|
||||
ImGui::Checkbox("CEO Ban", &g.protections.script_events.ceo_ban);
|
||||
ImGui::Checkbox("CEO Kick", &g.protections.script_events.ceo_kick);
|
||||
@ -26,6 +26,9 @@ namespace big
|
||||
ImGui::Checkbox("Transaction Error", &g.protections.script_events.transaction_error);
|
||||
ImGui::Checkbox("Vehicle Kick", &g.protections.script_events.vehicle_kick);
|
||||
|
||||
ImGui::TreePop();
|
||||
}
|
||||
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user