mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-04 00:23:27 +08:00
feat(Handling): Allow a broader range on the sliders (#1986)
This commit is contained in:
parent
182a80a951
commit
62c0c30c1a
@ -7,10 +7,10 @@ namespace big
|
|||||||
if (ImGui::BeginTabItem("HANDLING_TAB_OTHER"_T.data()))
|
if (ImGui::BeginTabItem("HANDLING_TAB_OTHER"_T.data()))
|
||||||
{
|
{
|
||||||
ImGui::Text("HANDLING_ACCELERATION_MULTIPLIER"_T.data());
|
ImGui::Text("HANDLING_ACCELERATION_MULTIPLIER"_T.data());
|
||||||
ImGui::DragFloat("###handling_acceleration", &g_local_player->m_vehicle->m_handling_data->m_acceleration, .01f, 1.f, 10.f);
|
ImGui::DragFloat("###handling_acceleration", &g_local_player->m_vehicle->m_handling_data->m_acceleration, .01f, .01f, 10.f);
|
||||||
|
|
||||||
ImGui::Text("HANDLING_DOWNFORCE_MULTIPLIER"_T.data());
|
ImGui::Text("HANDLING_DOWNFORCE_MULTIPLIER"_T.data());
|
||||||
ImGui::DragFloat("###handling_downforce", &g_local_player->m_vehicle->m_handling_data->m_downforce_multiplier, .01f, 0.f, 10.f);
|
ImGui::DragFloat("###handling_downforce", &g_local_player->m_vehicle->m_handling_data->m_downforce_multiplier, .01f, .01f, 10.f);
|
||||||
|
|
||||||
ImGui::Text("HANDLING_INERTIA_MULTIPLIER"_T.data());
|
ImGui::Text("HANDLING_INERTIA_MULTIPLIER"_T.data());
|
||||||
float fInertiaMult[3];
|
float fInertiaMult[3];
|
||||||
@ -27,4 +27,4 @@ namespace big
|
|||||||
ImGui::EndTabItem();
|
ImGui::EndTabItem();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user