fix(Handling): large steps on drag float (#1904)

Closes #1903
This commit is contained in:
gir489 2023-08-01 10:04:51 -04:00 committed by GitHub
parent bb9ea84862
commit 39fdd5a566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,10 +7,10 @@ namespace big
if (ImGui::BeginTabItem("HANDLING_TAB_OTHER"_T.data()))
{
ImGui::Text("HANDLING_ACCELERATION_MULTIPLIER"_T.data());
ImGui::DragFloat("###handling_acceleration", &g_local_player->m_vehicle->m_handling_data->m_acceleration, 1.f, .01f, 10.f);
ImGui::DragFloat("###handling_acceleration", &g_local_player->m_vehicle->m_handling_data->m_acceleration, .01f, 1.f, 10.f);
ImGui::Text("HANDLING_DOWNFORCE_MULTIPLIER"_T.data());
ImGui::DragFloat("###handling_downforce", &g_local_player->m_vehicle->m_handling_data->m_downforce_multiplier, 1.f, 0.f, 10.f);
ImGui::DragFloat("###handling_downforce", &g_local_player->m_vehicle->m_handling_data->m_downforce_multiplier, .01f, 0.f, 10.f);
ImGui::Text("HANDLING_INERTIA_MULTIPLIER"_T.data());
float fInertiaMult[3];